Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Rename variable #24
Browse files Browse the repository at this point in the history
We take only the outgoing transitions.
  • Loading branch information
tdauth committed Apr 1, 2019
1 parent 8ee83ed commit 5637c1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class GuiStateMachinGMLSerializer(guiStateMachine: GuiStateMachine) extends GuiS

allStatesSorted.foreach { x =>
val fromVertex = x._1
val allTransitionsSorted = x._2.getOutgoingActionTransitions.toSeq.sortWith(hashCodeComparisonOfTuples)
val allOutgoingActionTransitionsSorted = x._2.getOutgoingActionTransitions.toSeq.sortWith(hashCodeComparisonOfTuples)

allTransitionsSorted foreach { transition =>
allOutgoingActionTransitionsSorted foreach { transition =>
val actionTransitions = transition._2
val action = transition._1
actionTransitions.states.foreach { toState =>
Expand Down

0 comments on commit 5637c1b

Please sign in to comment.