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.
For example, if there is the import statement "import foo.Bar;" and there is no class foo.Bar in the classpath, and at the same time no type "Bar" is being used in the source file, then Fix Imports should remove the import just as any other unused import. In other words, unused imports should be removed regardless of whether they can be resolved or not. Product Version: NetBeans IDE Dev (Build 200810181401) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
*** This issue has been marked as a duplicate of 122658 ***