+comment: threshold property should be an int vs a string? Also the descriptor names are too generic, potential for clash with other rules.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6360 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Brian Remedios committed 2008-08-10 17:59:25 +00:00
1 parent 13e6659cc6
commit b1e4e8da64
1 file changed
+1
@@ -60,6 +60,7 @@ public class GenericClassCounterRule extends AbstractJavaRule {
private static final PropertyDescriptor TYPE_MATCH_DESCRIPTOR = new StringProperty("typeMatch",
"A series of regex, separated by ',' to match on implements/extends classname",new String[]{""},3.0f,',');
// TODO - this should be an IntegerProperty instead?
private static final PropertyDescriptor THRESHOLD_DESCRIPTOR = new StringProperty("threshold",
"Defines how many occurences are legal",new String(),4.0f);