...
- local variable declaration statements [Java 2005, §14§14.4]
- field declarations [Java 2005, §8§8.3]
- field (constant) declarations [Java 2005, §9§9.3]
Noncompliant Code Example (Initialization)
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7cef897ae109acab-fec6a862-47b642f9-b255bb58-0aa432368f392119969d682e"><ac:plain-text-body><![CDATA[ | [[Conventions 2009 | AA. Bibliography#Conventions 09]] | Section 6.1, "Number Per Line" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0cd1ba101698c74b-f55ada9c-40424b5c-9fb6a4fd-f56a4d23e4f79358491d95c2"><ac:plain-text-body><![CDATA[ | [[ESA 2005 | AA. Bibliography#ESA 05]] | Rule 9: Put single variable definitions in separate lines. | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="41a7b50280315aa0-d0ee2613-417441bb-be529833-ede7c192fb211a064d9aa4c1"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [§8§8.3, "Field Declarations" | http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.3] | ]]></ac:plain-text-body></ac:structured-macro> |
| |||||
| |||||
| |||||
|
...
DCL00-J. Use visually distinct identifiers 01. Declarations and Initialization (DCL) DCL02-J. Use meaningful symbolic constants to represent literal values in program logicAvoid ambiguous overloading of varargs methods