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:
parent
7a708e12e8
commit
c107a37abc
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue