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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-spec-experts/attachments/20130521/a9316914/attachment.html 


More information about the lambda-spec-experts mailing list