Skip to content

Commit 4dd42f9

Browse files
Pascal Dal Farrapdalfarr
Pascal Dal Farra
authored andcommitted
fix: fix collectAllStates() typo + bump to plantuml-asl-1.2025.2
Signed-off-by: Pascal Dal Farra <[email protected]>
1 parent 3b29592 commit 4dd42f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-statemachine-uml/spring-statemachine-uml.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
api 'org.eclipse.emf:org.eclipse.emf.common'
3030

3131
implementation 'org.apache.commons:commons-lang3:3.12.0'
32-
implementation'net.sourceforge.plantuml:plantuml-lgpl:1.2023.13'
32+
implementation'net.sourceforge.plantuml:plantuml-asl:1.2025.2'
3333
implementation 'jakarta.validation:jakarta.validation-api:3.1.0'
3434

3535
testImplementation(testFixtures(project(":spring-statemachine-core")))

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ private static <S, E> void collectAllStates(
7474
ArrayList<State<S, E>> allStatesAccumulator
7575
) {
7676
visiteRegion(region, seRegion -> {
77-
if (region.getStates() != null) {
78-
allStatesAccumulator.addAll(region.getStates());
77+
if (seRegion.getStates() != null) {
78+
allStatesAccumulator.addAll(seRegion.getStates());
7979
}
8080
});
8181
}

0 commit comments

Comments
 (0)