This commit is contained in:
Vyacheslav Boyko 2022-07-11 15:49:55 +03:00
parent ee4e214f8e
commit 35285b61bf
4 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,6 @@ package me.bvn13.fsm;
@FunctionalInterface
public interface StateHandler<T extends Fsm> {
void handle(T fms);
void handle(T fsm);
}

View File

@ -8,6 +8,6 @@ package me.bvn13.fsm;
@FunctionalInterface
public interface StateProcessor<T extends Fsm, E> {
void process(T fms, E event);
void process(T fsm, E event);
}

View File

@ -5,7 +5,7 @@ import me.bvn13.fsm.StateHandler;
public class DummyHandler<T extends Fsm> implements StateHandler<T> {
@Override
public void handle(T fms) {
public void handle(T fsm) {
}
}

View File

@ -5,7 +5,7 @@ import me.bvn13.fsm.StateProcessor;
public class DummyProcessor<T extends Fsm,E> implements StateProcessor<T,E> {
@Override
public void process(T fms, E event) {
public void process(T fsm, E event) {
}
}