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 113944 [details] Screen shot of configuration Have a look at the attached screenshot for my Organize Hints configuration. Then have a unit test with these imports: ---- %< ---- import java.util.Arrays; import java.util.List; import java.util.regex.Pattern; import org.netbeans.junit.NbTestCase; import static org.junit.Assert.*; ---- %< ---- Hint for organizing imports appears but it shouldn't I guess. Product Version: NetBeans IDE 7.1 (Build 201112051121) Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02 System: Linux version 3.0.0-13-generic running on amd64; UTF-8; cs_CZ (nb)
If I invoke the hint, the result is: ---- %< ---- import java.util.Arrays; import java.util.List; import java.util.regex.Pattern; import static org.junit.Assert.*; import org.netbeans.junit.NbTestCase; ---- %< ----
Should be fixed in the current dev build.