rspec/rules/S2786/java/comments-and-links.adoc

25 lines
808 B
Plaintext

=== on 31 Mar 2015, 15:09:56 Nicolas Peru wrote:
\[~ann.campbell.2]could be nice to add a link or a quote from the jls : \http://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.9
____
Nested enum types are implicitly static. It is permissible to explicitly declare a nested enum type to be static.
____
=== on 31 Mar 2015, 17:46:06 Ann Campbell wrote:
\[~nicolas.peru] why would we quote the docs as saying it's permissible to do exactly what this rule says not to do?
=== on 1 Apr 2015, 08:42:30 Nicolas Peru wrote:
Then let's just keep the first part of the sentence :
____
Nested enum types are implicitly static.
____
point is to refer to the correct section of the JLS to let user know we did not invent this.
=== on 1 Apr 2015, 17:06:42 Ann Campbell wrote:
Done [~nicolas.peru]