forked from phoedos/pmd
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:
@ -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
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user