mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug #212760: NPE when trying to edit tools for CDT project
This commit is contained in:
parent
f6e9360d5d
commit
786fa6383c
3 changed files with 4 additions and 1 deletions
|
@ -21,6 +21,8 @@ import org.eclipse.cdt.managedbuilder.buildproperties.IBuildPropertyValue;
|
|||
public class BuildListComparator extends CDTListComparator {
|
||||
private static final String EMPTY = ""; //$NON-NLS-1$
|
||||
|
||||
private static Comparator comparator = null;
|
||||
|
||||
public static Comparator getInstance() {
|
||||
if (comparator == null)
|
||||
comparator = new BuildListComparator();
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.eclipse.cdt.core.settings.model.ICLanguageSetting;
|
|||
import org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry;
|
||||
|
||||
public class CDTListComparator implements Comparator {
|
||||
protected static Comparator comparator = null;
|
||||
private static Comparator comparator = null;
|
||||
|
||||
public static Comparator getInstance() {
|
||||
if (comparator == null)
|
||||
|
|
|
@ -19,6 +19,7 @@ import org.eclipse.cdt.ui.newui.AbstractExportTab.ExtData;
|
|||
import org.eclipse.cdt.ui.wizards.EntryDescriptor;
|
||||
|
||||
public class CDTUIListComparator extends CDTListComparator implements Comparator {
|
||||
private static Comparator comparator = null;
|
||||
|
||||
public static Comparator getInstance() {
|
||||
if (comparator == null)
|
||||
|
|
Loading…
Add table
Reference in a new issue