+1

Sven

On 05.10.2015 22:42, Martijn Dashorst 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

Reply via email to