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.
[ BUILD # : beta-2 ] [ JDK VERSION : 1.6.23 ] When using "Convert to static import" only the current statement is converted, other usages of the same static method is not converted event if they are tagged with the same hint. Example; import Output.println; private void doSomeThing() { Output.println("This goes to output"); Output.println("This too..."); } Using one of the hints gives the following result; import static Output.println; import Output.println; private void doSomeThing() { println("This goes to output."); Output.println("This too..."); }
Not a defect, IMO.