+1 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov
On Mon, Oct 5, 2015 at 10:42 PM, Martijn Dashorst < [email protected]> wrote: > Should we use an empty default implementation for IModel#detach? > > > public class IModel<T> extends IDetachable > { > ... > > @Override > default void detach() > { > } > } > > This won't break existing applications, but might make it a bit easier > on the eyes to implement IModel directly. > > I'm not in favor of applying the default method to IDetachable, > because that would defeat the interface's purpose IMO. > > WDYT? > > Martijn >
