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.
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)
Bug still valid in: Product Version: NetBeans IDE 7.3 RC1 (Build 201301172100) 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 bug has been marked as a duplicate of bug 225107 ***