Project: JDT
Bug 27075 ViewerSorter could maybe lazily initialize Collator
Reported: 2002-11-25 06:28:11 | Status: resolved fixed

calling JavaElementSorter creates a lot of new objects (ViewerSorter calls Collator.getInstance() which is the culprit) so maybe fSorter could be initialized lazily

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MembersOrderPreferencePage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java