1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

compiler warnings

This commit is contained in:
Andrew Gvozdev 2011-04-07 14:31:06 +00:00
parent 72e7b6b3db
commit 7b8fb76144

View file

@ -186,7 +186,7 @@ public class ErrorParserExtensionManager {
*/ */
synchronized public static void loadDefaultErrorParserIds() { synchronized public static void loadDefaultErrorParserIds() {
fDefaultErrorParserIds = null; 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); String ids = preferences.get(PREFERENCE_ERRORPARSER_DEFAULT_IDS, NONE);
if (ids.equals(NONE)) { if (ids.equals(NONE)) {
return; return;
@ -419,7 +419,7 @@ public class ErrorParserExtensionManager {
* @throws BackingStoreException in case of problem storing * @throws BackingStoreException in case of problem storing
*/ */
public static void serializeDefaultErrorParserIds() throws BackingStoreException { 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; String ids = NONE;
if (fDefaultErrorParserIds!=null) { if (fDefaultErrorParserIds!=null) {
ids = ErrorParserManager.toDelimitedString(fDefaultErrorParserIds.toArray(new String[0])); ids = ErrorParserManager.toDelimitedString(fDefaultErrorParserIds.toArray(new String[0]));