mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
compiler warnings
This commit is contained in:
parent
72e7b6b3db
commit
7b8fb76144
1 changed files with 2 additions and 2 deletions
|
@ -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]));
|
||||||
|
|
Loading…
Add table
Reference in a new issue