Explicit public on static interface methods?

Daniel Heidinga Daniel_Heidinga at ca.ibm.com
Tue May 21 18:58:52 PDT 2013


> In my opinion, the best is to stay with public as the default modifiers
> in interface

+1.

We debated this internally for quite a while before coming to the
conclusion that none of the arguments for being inconsistent (clarity,
avoid copy/paste errors, etc) were strong enough for us to advocate making
static methods in interface inconsistent with everything else in
interfaces.


More information about the lambda-spec-observers mailing list