This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249299 - JavaDoc comments for enum values are lost during Refactor -> Move Inner to Outer level
Summary: JavaDoc comments for enum values are lost during Refactor -> Move Inner to Ou...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 18:10 UTC by NukemBy
Modified: 2015-01-28 04:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2014-12-11 18:10:06 UTC
Original sample class

public class Sample {
    /**
     * JavaDoc for SampleEnum
     */
    public enum SampleEnum {
        /**
         * JavaDoc for value1
         */
        Value1,
        /**
         * JavaDoc for value2
         */
        Value2;
    }
}

Refactored enum (JavaDoc comments disappeared)

/**
 * JavaDoc for SampleEnum
 */
public enum SampleEnum {
    Value1, Value2
    
}

Occurs in Dev 201412010001 and 8.0.2.
Comment 1 Ralph Ruijs 2015-01-26 16:44:06 UTC
changeset:   221568de6a5b
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Jan 26 15:46:40 2015 +0100
summary:     #249299 - JavaDoc comments for enum values are lost during Refactor -> Move Inner to Outer level
Comment 2 Quality Engineering 2015-01-28 04:12:36 UTC
Integrated into 'main-silver', will be available in build *201501280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/221568de6a5b
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #249299 - JavaDoc comments for enum values are lost during Refactor -> Move Inner to Outer level