Browse Source

Make CallbackEventHandler final

pull/26/head
kske 7 months ago
parent
commit
c614beb063
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
  1. 2
      event-bus-core/src/main/java/dev/kske/eventbus/core/handler/CallbackEventHandler.java

2
event-bus-core/src/main/java/dev/kske/eventbus/core/handler/CallbackEventHandler.java

@ -9,7 +9,7 @@ import java.util.function.Consumer;
* @author Kai S. K. Engelbart
* @since 1.2.0
*/
public class CallbackEventHandler implements EventHandler {
public final class CallbackEventHandler implements EventHandler {
private final Class<?> eventType;
private final Consumer<Object> callback;

Loading…
Cancel
Save