package com.timgroup.eventsubscription;

import com.timgroup.eventstore.api.Position;
import org.joda.time.DateTime;

public interface EventHandler<T> {
    void apply(T deserialized);

    default void apply(Position position, DateTime timestamp, T deserialized, boolean endOfBatch) {
        apply(deserialized);
    }
}

@@ -150,16 +150,24 @@
 %3E %7B%0A    
+default 
 void app
@@ -184,17 +184,19 @@
 ialized)
-;
+ %7B%7D
 %0A%0A    de

Revert "SteveH: remove 'default' from one EventHandler method so it must be implemented"