Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-08-31 13:21:40 +0000
committerThomas Watson2009-08-31 13:21:40 +0000
commitda50c2f7e2660da7efb2f931499ed479468d9152 (patch)
tree358caf157101fbcbb94fcd8ba0276ff9235f6832 /bundles/org.eclipse.equinox.registry/src
parent983d950719ec1fabe03be4d0158c736d84b87ba0 (diff)
downloadrt.equinox.bundles-da50c2f7e2660da7efb2f931499ed479468d9152.tar.gz
rt.equinox.bundles-da50c2f7e2660da7efb2f931499ed479468d9152.tar.xz
rt.equinox.bundles-da50c2f7e2660da7efb2f931499ed479468d9152.zip
Bug 288038 - Wrong warning message for unknown extension attributev20090831
Diffstat (limited to 'bundles/org.eclipse.equinox.registry/src')
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
index 840a52ded..c684525b8 100644
--- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
+++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -465,7 +465,7 @@ public class ExtensionsParser extends DefaultHandler {
targetName = attrValue;
currentExtension.setExtensionPointIdentifier(targetName);
} else
- unknownAttribute(EXTENSION, attrName);
+ unknownAttribute(attrName, EXTENSION);
}
if (currentExtension.getExtensionPointIdentifier() == null) {
missingAttribute(EXTENSION_TARGET, EXTENSION);
@@ -554,7 +554,7 @@ public class ExtensionsParser extends DefaultHandler {
} else if (attrName.equals(EXTENSION_POINT_SCHEMA))
currentExtPoint.setSchema(attrValue);
else
- unknownAttribute(EXTENSION_POINT, attrName);
+ unknownAttribute(attrName, EXTENSION_POINT);
}
if (currentExtPoint.getSimpleIdentifier() == null || currentExtPoint.getLabel() == null) {
String attribute = currentExtPoint.getSimpleIdentifier() == null ? EXTENSION_POINT_ID : EXTENSION_POINT_NAME;

Back to the top