Merge branch 'release/2.1.6'

This commit is contained in:
Vyacheslav Boyko 2022-07-11 15:16:10 +03:00
commit 3574e67c7c
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<groupId>me.bvn13.fsm</groupId>
<artifactId>fsm</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<packaging>jar</packaging>

View File

@ -107,8 +107,8 @@ public class Fsm<T extends Fsm, E> {
protected State<E> initialState;
protected State<E> currentState;
protected State<E> previousState;
private final Map<String, State<E>> states = new HashMap<>();
private final Map<String, Map<String, Condition<T, E>>> transitions = new HashMap<>();
protected final Map<String, State<E>> states = new HashMap<>();
protected final Map<String, Map<String, Condition<T, E>>> transitions = new HashMap<>();
/**
* Initiate a builder