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.
Summary: |
Move Inner to Outer Level Duplicates Single Line Comment |
Product: |
editor
|
Reporter: |
MackSix |
Component: |
Refactoring | Assignee: |
Ralph Ruijs <ralphbenjamin> |
Status: |
RESOLVED
DUPLICATE
|
|
|
Severity: |
normal
|
|
|
Priority: |
P3
|
|
|
Version: |
7.3 | |
|
Hardware: |
PC | |
|
OS: |
Windows 7 | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
project for reproduction of bug
|
Created attachment 130410 [details] project for reproduction of bug 1. Import Attached Project. 2. Open up all the files. 3. Right click on InnerClass inside of TestClass.java and choose Refactor>>Move Inner to Outer Level. 4. The new outer class file is created, but the comment "// A comment." to the right of the throw statement is duplicated 2 times as shown below. @Override public int compareTo(Object o) { throw new UnsupportedOperationException("Not supported yet."); // A comment. // A comment. // A comment. } Product Version: NetBeans IDE 7.3 RC1 (Build 201301102100) Java: 1.7.0_11; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) This does not occur in NetBeans IDE Dev (Build 201301190001)