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.
1. Create new java class 2. Go to Tools > Options > Formatting > {Java, Imports} and set it according the step_00 attached image than press Ok. 3. into the body of class type "HashMap<Integer, String> nodes = new HashMa" (see step_01) 4. Using Ctrl+Space invoke code completion, the result is shown on step_02 5. Type "Integer" >> while you are typing "Integer" new duplicate imports are added (see step_03) Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Created attachment 140531 [details] step_00
Created attachment 140532 [details] step_01
Created attachment 140533 [details] step_02
Created attachment 140534 [details] step_03
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c96080c28f1b
Integrated into 'main-silver', will be available in build *201310030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c96080c28f1b User: Dusan Balek <dbalek@netbeans.org> Log: Issue #236446: [Use Package Imports] duplicates imports - fixed.
verified in the trunk
Integrated into release74 branch. http://hg.netbeans.org/releases/rev/a728bbb1cb3e
Integrated into 'releases/release74', will be available in build *201311141216* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/a728bbb1cb3e User: Dusan Balek <dbalek@netbeans.org> Log: Issue #236446: [Use Package Imports] duplicates imports - fixed.