diff options
author | khussey | 2006-05-29 20:29:25 +0000 |
---|---|---|
committer | khussey | 2006-05-29 20:29:25 +0000 |
commit | 42aeafa78171cf3723604b43905bb11117bbdfcf (patch) | |
tree | acefa5387fe36ff417f50e97f111ea8370c7e93c /plugins | |
parent | a24506916bdc2a7cd540457cee93029d61d065bc (diff) | |
download | org.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.java | 4 |
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; } |