Project: JDT
Bug 4074 Add Import does not add to right group (1GI182E)
Reported: 2001-10-10 23:05:37 | Status: verified fixed

1. Ensure that at least "java" and "org.eclipse.swt" are defined in the import order pref page 2. Ensure SWT is on the build path of the test project 3. Add a new class with the following source: ------------------------------------------ import java.util.List; import org.eclipse.swt.SWT; public class AddImportBug { Set } ------------------------------------------ 4. Select Set 5. Add Import ==> The import is added to the org.eclipse group (before SWT) BTW: Organize import adds it to the right group NOTES: MA (27.08.2001 12:24:06) Need to change the separator placeholder structure. The information that the entry was matched to an other entry is lost.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java