rspec/rules/S2786/java/comments-and-links.adoc
2021-06-02 20:44:38 +02:00

25 lines
806 B
Plaintext

=== On 2015-03-31T15:09:56Z 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 2015-03-31T17:46:06Z 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 2015-04-01T08:42:30Z 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 2015-04-01T17:06:42Z Ann Campbell Wrote:
Done [~nicolas.peru]