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.

Bug 88755 - CC can insert duplicate imports
Summary: CC can insert duplicate imports
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 85962 88756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-07 00:18 UTC by Jesse Glick
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-11-07 00:18:22 UTC
Recent dev build. I noticed that code completion (C-Space) can insert duplicate
imports of various classes, and can insert imports of java.lang classes.
Comment 1 Dusan Balek 2006-11-07 09:06:20 UTC
Fixed.

Checking in editor/src/org/netbeans/modules/editor/java/JavaCompletionItem.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionItem.java,v
 <--  JavaCompletionItem.java
new revision: 1.9; previous revision: 1.8
done
Checking in editor/src/org/netbeans/modules/editor/java/AutoImport.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/AutoImport.java,v  <-- 
AutoImport.java
new revision: 1.3; previous revision: 1.2
done
Checking in
editor/src/org/netbeans/modules/editor/java/JavaCodeTemplateProcessor.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCodeTemplateProcessor.java,v
 <--  JavaCodeTemplateProcessor.java
new revision: 1.4; previous revision: 1.3
done
Checking in source/src/org/netbeans/api/java/source/TreeUtilities.java;
/cvs/java/source/src/org/netbeans/api/java/source/TreeUtilities.java,v  <-- 
TreeUtilities.java
new revision: 1.5; previous revision: 1.4
done
Comment 2 Dusan Balek 2006-11-07 09:22:41 UTC
*** Issue 88756 has been marked as a duplicate of this issue. ***
Comment 3 Dusan Balek 2006-11-07 09:55:30 UTC
*** Issue 85962 has been marked as a duplicate of this issue. ***