Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhussey2006-05-23 16:07:41 +0000
committerkhussey2006-05-23 16:07:41 +0000
commitb0849a376a278f8a8e399fea642966326f8421e8 (patch)
tree9f7cc6631b3beeb83d3a3fe0d90714edd4d4e90d
parenta83ad1aead37dd3866f50f5e76353c0286c3410c (diff)
downloadorg.eclipse.uml2.test-b0849a376a278f8a8e399fea642966326f8421e8.tar.gz
org.eclipse.uml2.test-b0849a376a278f8a8e399fea642966326f8421e8.tar.xz
org.eclipse.uml2.test-b0849a376a278f8a8e399fea642966326f8421e8.zip
[143204] Eliminating class cast exception in UseCase#allIncludedUseCases().
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UseCaseOperations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UseCaseOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UseCaseOperations.java
index 0cf202df..c31734bf 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UseCaseOperations.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UseCaseOperations.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: UseCaseOperations.java,v 1.9 2006/05/23 14:37:52 khussey Exp $
+ * $Id: UseCaseOperations.java,v 1.10 2006/05/23 16:07:41 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.operations;
@@ -210,7 +210,7 @@ public class UseCaseOperations
UseCase addition = ((Include) includes.next()).getAddition();
- if (allIncludedUseCases.add(addition)) {
+ if (addition != null && allIncludedUseCases.add(addition)) {
allIncludedUseCases(addition, allIncludedUseCases);
}
}

Back to the top