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 143302 [details] Shows the issue Introduce variable duplicates comment. See screenshot Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: Updates available to version NetBeans 7.4 Patch 2 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Present also in 8.0; comment is copied to the factored-out code and not removed in IntroduceVariableFix.
Fixed by general support implemented as part of issue #239487 and isssue #245348