diff options
author | Andrew Gvozdev | 2011-04-07 14:31:06 +0000 |
---|---|---|
committer | Andrew Gvozdev | 2011-04-07 14:31:06 +0000 |
commit | 7b8fb761448b5c3a9af4608c962d4a362c61d265 (patch) | |
tree | 930d14f646cb49c8718b28c94cf4bd5255badd92 /core/org.eclipse.cdt.core | |
parent | 72e7b6b3db7f9b70865c91c380042528e08a6e17 (diff) | |
download | org.eclipse.cdt-7b8fb761448b5c3a9af4608c962d4a362c61d265.tar.gz org.eclipse.cdt-7b8fb761448b5c3a9af4608c962d4a362c61d265.tar.xz org.eclipse.cdt-7b8fb761448b5c3a9af4608c962d4a362c61d265.zip |
compiler warnings
Diffstat (limited to 'core/org.eclipse.cdt.core')
-rw-r--r-- | core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/ErrorParserExtensionManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/ErrorParserExtensionManager.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/ErrorParserExtensionManager.java index b64a2a3bc28..a33b23a9fd9 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/ErrorParserExtensionManager.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/ErrorParserExtensionManager.java @@ -186,7 +186,7 @@ public class ErrorParserExtensionManager { */ synchronized public static void loadDefaultErrorParserIds() { fDefaultErrorParserIds = null; - IEclipsePreferences preferences = new InstanceScope().getNode(CCorePlugin.PLUGIN_ID); + IEclipsePreferences preferences = InstanceScope.INSTANCE.getNode(CCorePlugin.PLUGIN_ID); String ids = preferences.get(PREFERENCE_ERRORPARSER_DEFAULT_IDS, NONE); if (ids.equals(NONE)) { return; @@ -419,7 +419,7 @@ public class ErrorParserExtensionManager { * @throws BackingStoreException in case of problem storing */ public static void serializeDefaultErrorParserIds() throws BackingStoreException { - IEclipsePreferences preferences = new InstanceScope().getNode(CCorePlugin.PLUGIN_ID); + IEclipsePreferences preferences = InstanceScope.INSTANCE.getNode(CCorePlugin.PLUGIN_ID); String ids = NONE; if (fDefaultErrorParserIds!=null) { ids = ErrorParserManager.toDelimitedString(fDefaultErrorParserIds.toArray(new String[0])); |