We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8e84ab commit 332bdfdCopy full SHA for 332bdfd
1 file changed
org.modeldriven.fuml/src/main/java/fUML/Semantics/CommonBehaviors/Communications/ObjectActivation.java
@@ -105,9 +105,10 @@ public void dispatchNextEvent() {
105
int j = ((ChoiceStrategy) this.object.locus.factory
106
.getStrategy("choice"))
107
.choose(matchingEventAccepterIndexes.size());
108
+ int k = matchingEventAccepterIndexes.getValue(j - 1);
109
EventAccepter selectedEventAccepter = this.waitingEventAccepters
- .getValue(matchingEventAccepterIndexes.getValue(j - 1));
110
- this.waitingEventAccepters.removeValue(j - 1);
+ .getValue(k);
111
+ this.waitingEventAccepters.removeValue(k);
112
selectedEventAccepter.accept(eventOccurrence);
113
}
114
0 commit comments