NAMING.NIF
Enforce name format of non-"static" fields
Description
This rule flags any non-"static" field with an unconventional name format.
Most programmers or groups of programmers develop a set of naming rules for non-"static" fields. Jtest will enforce the name format of the non-"static" fields using a regular expression.
Example
package NAMING;
class NIF {
public int field = 0;
}
Repair
Change the name of the non-"static" field to match the regular expression.
Reference
http://www.AmbySoft.com/javaCodingStandards.pdf
|