Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2011-04-07 14:31:06 +0000
committerAndrew Gvozdev2011-04-07 14:31:06 +0000
commit7b8fb761448b5c3a9af4608c962d4a362c61d265 (patch)
tree930d14f646cb49c8718b28c94cf4bd5255badd92 /core/org.eclipse.cdt.core
parent72e7b6b3db7f9b70865c91c380042528e08a6e17 (diff)
downloadorg.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.java4
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]));

Back to the top