Descriptor can be static

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4845 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2006-11-30 19:36:33 +00:00
parent 71b693ba2d
commit adcc5741b3

View File

@ -13,7 +13,7 @@ public class AvoidUsingOctalValues extends AbstractRule {
public static final Pattern STRICT_OCTAL_PATTERN = Pattern.compile("0[0-7]+[lL]?");
private final PropertyDescriptor strictMethodsDescriptor = new BooleanProperty(
private static final PropertyDescriptor strictMethodsDescriptor = new BooleanProperty(
"strict", "Detect violations for 00 to 07.", false, 1.0f
);