1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

avoid duplicate CDTListComparator objects

This commit is contained in:
Oleg Krasilnikov 2007-04-02 10:54:56 +00:00
parent 7a708e12e8
commit c107a37abc

View file

@ -508,9 +508,8 @@ implements
if (cfgDescs == null) {
cfgDescs = prjd.getConfigurations();
if (cfgDescs == null || cfgDescs.length == 0) return;
Arrays.sort(cfgDescs, CDTListComparator.getInstance());
}
Arrays.sort(cfgDescs, new CDTListComparator());
// Clear and replace the contents of the selector widget
configSelector.removeAll();