http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#78651

JLS 9.4:
"It is permitted, but strongly discouraged as a matter of style, to redundantly 
specify the public modifier for interface methods."



"Robert F. Beeger" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thomas Singer wrote:
> >>Why isn't it declared public like in my implementing class ?
> >
> >
> > Because in a interface you need not to define any visibility; it's
> > automatically public. If you have the extra "public", I think, Jikes
> > will show a warning message, that it is useless.
> Well, my fellow-programmers and I often practice "state the obvious". So
> although it is not stricly necessary, I'd like to have an option that
> the visibility modifier is nevertheless inserted.
>
> ---
>   Greets
>    Robert
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to