forked from phoedos/pmd
bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7065 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -328,10 +328,8 @@ public class RuleSetWriter {
|
||||
propertyElement.setAttribute("delimiter", String.valueOf(propertyDescriptor.multiValueDelimiter()));
|
||||
}
|
||||
if (propertyDescriptor instanceof AbstractNumericProperty) {
|
||||
propertyElement.setAttribute("min", String.valueOf(((AbstractNumericProperty<?>) propertyDescriptor)
|
||||
.lowerLimit()));
|
||||
propertyElement.setAttribute("max", String.valueOf(((AbstractNumericProperty<?>) propertyDescriptor)
|
||||
.lowerLimit()));
|
||||
propertyElement.setAttribute("min", String.valueOf(((AbstractNumericProperty<?>) propertyDescriptor).lowerLimit()));
|
||||
propertyElement.setAttribute("max", String.valueOf(((AbstractNumericProperty<?>) propertyDescriptor).upperLimit()));
|
||||
}
|
||||
|
||||
return propertyElement;
|
||||
|
Reference in New Issue
Block a user