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.
Remove statement hint (remove printStackTrace or System.out) should not remove preceding line comment. It may contain commented out code. Example: have a code: public void method(Throwable t) throws FileNotFoundException { //commented out code //commented out code //commented out code //commented out code t.printStackTrace(); } use hint - remove statement result: public void method(Throwable t) throws FileNotFoundException { }
Defect.
Will be fixed by jet-main#19cbdbedf3a5
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/19cbdbedf3a5 User: Svata Dedic <sdedic@netbeans.org> Log: #245734: retained comments after deleted statements