Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java
index b8fd7e8c..dadaa13c 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: PropertyOperations.java,v 1.32 2006/06/13 15:33:23 khussey Exp $
+ * $Id: PropertyOperations.java,v 1.33 2006/06/13 17:25:48 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.operations;
@@ -797,13 +797,14 @@ public class PropertyOperations
* @generated NOT
*/
public static void setIsNavigable(Property property, boolean isNavigable) {
- Association association = property.getAssociation();
-
- if (association == null) {
- throw new IllegalStateException();
- }
if (property.isNavigable() != isNavigable) {
+ Association association = property.getAssociation();
+
+ if (association == null) {
+ throw new IllegalStateException();
+ }
+
EList navigableOwnedEnds = association.getNavigableOwnedEnds();
if (isNavigable) {

Back to the top