Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenn Hussey2012-01-20 22:51:47 +0000
committerKenn Hussey2012-01-20 22:51:47 +0000
commit00cdedd05e455cc1e2996e94520958f546ce2cbe (patch)
tree2c37bfe1dd930c7dd50e21d5aad1f18b182d8c9f /plugins/org.eclipse.uml2.uml
parentface3530bf188add9501e4dcae8816b0907bef0b (diff)
downloadorg.eclipse.uml2.test-00cdedd05e455cc1e2996e94520958f546ce2cbe.tar.gz
org.eclipse.uml2.test-00cdedd05e455cc1e2996e94520958f546ce2cbe.tar.xz
org.eclipse.uml2.test-00cdedd05e455cc1e2996e94520958f546ce2cbe.zip
[369268] Fixing typo in extender URI comparison.
Diffstat (limited to 'plugins/org.eclipse.uml2.uml')
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLHandler.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLHandler.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLHandler.java
index 9ef61748..0e4f2e0f 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLHandler.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2011 IBM Corporation, Embarcadero Technologies, CEA, and others.
+ * Copyright (c) 2007, 2012 IBM Corporation, Embarcadero Technologies, CEA, 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
@@ -8,7 +8,8 @@
* Contributors:
* Kenn Hussey (IBM Corporation, Embarcadero Technologies) - initial API and implementation
* Kenn Hussey (Embarcadero Technologies) - 218388
- * Kenn Hussey (CEA) - 327039, 366349
+ * Kenn Hussey (CEA) - 327039
+ * Kenn Hussey - 366349, 369268
*
*/
package org.eclipse.uml2.uml.internal.resource;
@@ -51,8 +52,9 @@ public class CMOF202UMLHandler
if (EMOFExtendedMetaData.EXTENSION.equals(localName)
&& XMI2UMLResource.XMI_2_1_NS_URI.equals(helper.getURI(prefix))
&& attribs != null
- && (UML212UMLResource.UML_METAMODEL_NS_URI.equals(extender) || UML302UMLResource.UML_METAMODEL_NS_URI
- .equals(extender)) || UMLPackage.eNS_URI.equals(extender)) {
+ && (UML212UMLResource.UML_METAMODEL_NS_URI.equals(extender)
+ || UML302UMLResource.UML_METAMODEL_NS_URI.equals(extender) || UMLPackage.eNS_URI
+ .equals(extender))) {
types.push(UML_EXTENSION_TYPE);
} else {

Back to the top