Skip to content

Commit 961f5ce

Browse files
author
Pascal Dal Farra
committed
chore: code cleaning
1 parent a7b2add commit 961f5ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-statemachine-uml/src/main/java/org/springframework/statemachine/plantuml/StateMachineHelper.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ private static <S, E> void collectCurrentStates(
4343
if (region.getState() != null) {
4444
currentStateAccumulator.add(region.getState().getId());
4545
}
46+
4647
region.getStates().forEach(state -> {
4748
if (state.isSubmachineState()) {
4849
if (state instanceof AbstractState<S, E> abstractState) {
@@ -93,8 +94,8 @@ private static <S, E> void collectHistoryState(
9394
) {
9495
if (state.getPseudoState() != null
9596
&& (
96-
state.getPseudoState().getKind() == PseudoStateKind.HISTORY_DEEP
97-
|| state.getPseudoState().getKind() == PseudoStateKind.HISTORY_SHALLOW
97+
state.getPseudoState().getKind() == PseudoStateKind.HISTORY_DEEP
98+
|| state.getPseudoState().getKind() == PseudoStateKind.HISTORY_SHALLOW
9899
)
99100
) {
100101
historyStatesToHistoryId.put(state, historyId(parentState, state.getPseudoState().getKind()));

0 commit comments

Comments
 (0)