svn commit: r19412 - trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2011-05-12 23:07:37-0700
New Revision: 19412
Modified:
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
Log:
This is an old mistake ...
I have no idea if this lead to any bugs in ArgoUML.
Modified: trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java?view=diff&pathrev=19412&r1=19411&r2=19412
==============================================================================
--- trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java (original)
+++ trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java 2011-05-12 23:07:37-0700
@@ -12,7 +12,7 @@
* Ludovic Maitre - UML 1.4
* Tom Morris - UML 1.4
* Bob Tarling
- *
+ * Michiel van der Wulp
*******************************************************************************
*/
// Copyright (c) 2005-2009 The Regents of the University of California. All
@@ -3640,8 +3640,8 @@
try {
if (isAStateMachine(handle)) {
return ((StateMachine) handle).getTransitions();
- } else if (isACompositeState(handle)) {
- return ((CompositeState) handle).getInternalTransition();
+ } else if (isAState(handle)) {
+ return ((State) handle).getInternalTransition();
} else if (isAEvent(handle)) {
return getRefOutermostPackage(handle).getStateMachines()
.getATransitionTrigger().getTransition((Event) handle);
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2735262
To unsubscribe from this discussion, e-mail: [[email protected]].