NAMING.NSF
Enforce name format of non-"final" "static" fields
Description
This rule flags any "static" field that has an unconventional name format.
Most programmers or groups of programmers develop a set of naming rules for "static" fields. Jtest will enforce the name format of the field using a regular expression.
Example
package NAMING;
class NSF {
static int staticField = 0;
}
Repair
Change the name of the field to match the regular expression.
|