Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhussey2006-05-29 20:29:25 +0000
committerkhussey2006-05-29 20:29:25 +0000
commit42aeafa78171cf3723604b43905bb11117bbdfcf (patch)
treeacefa5387fe36ff417f50e97f111ea8370c7e93c /plugins
parenta24506916bdc2a7cd540457cee93029d61d065bc (diff)
downloadorg.eclipse.uml2.test-42aeafa78171cf3723604b43905bb11117bbdfcf.tar.gz
org.eclipse.uml2.test-42aeafa78171cf3723604b43905bb11117bbdfcf.tar.xz
org.eclipse.uml2.test-42aeafa78171cf3723604b43905bb11117bbdfcf.zip
[144312] Avoiding NPE when retrieving applied profiles.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageOperations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageOperations.java
index 03be189d..1ed786d0 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageOperations.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageOperations.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: PackageOperations.java,v 1.26 2006/05/23 17:32:16 khussey Exp $
+ * $Id: PackageOperations.java,v 1.27 2006/05/29 20:29:25 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.operations;
@@ -609,7 +609,7 @@ public class PackageOperations
.next()).getAppliedProfile();
if (appliedProfile != null
- && appliedProfile.getQualifiedName().equals(qualifiedName)) {
+ && safeEquals(appliedProfile.getQualifiedName(), qualifiedName)) {
return appliedProfile;
}

Back to the top