Compare commits

..

No commits in common. "f3870d5c5049c76d3923c0c3a3cdf37d83508bcd" and "d1d0b38371ef482677fde37fcaecae59b2711b22" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -103,10 +103,10 @@ import java.util.function.Supplier;
*/
public class Fsm<T extends Fsm, E> {
protected boolean done = false;
protected State<E> initialState;
protected State<E> currentState;
protected State<E> previousState;
private boolean done = false;
private State<E> initialState;
private State<E> currentState;
private State<E> previousState;
private final Map<String, State<E>> states = new HashMap<>();
private final Map<String, Map<String, Condition<T, E>>> transitions = new HashMap<>();