transitions = bestPriorityInState.get(context.getCurrentStateId()); bestPriorityInState.put(context.getCurrentStateId(), transitions);
transitions = bestPriorityInState.get(context.getCurrentStateId()); bestPriorityInState.put(context.getCurrentStateId(), transitions);