DCNCD - Don't Code Numerical Constants Directly

According to Sun Code Conventions for Java, numerical constants (literals) should not be coded directly, except for -1, 0, and 1, which can appear in a for loop as counter values.

Tip: Add static final attributes for numeric constants.