Affects PMD Version:
6.10.0
Description:
Many copies of the following warning are printed when running PMD, despite the fact that I have not set the "separator" property:
[WARNING] Rule AvoidDuplicateLiterals uses deprecated property 'separator'. Future versions of PMD will remove support for this property. Please use the default separator (',') and avoid setting this property instead.
Relevant section of my PMD config:
<rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals"> <!-- TODO: Someday set this back to default priority to fail builds --> <priority>5</priority> <properties> <property name="maxDuplicateLiterals" value="2" /> <property name="minimumLength" value="1" /> <property name="exceptionList" value="]" /> <property name="skipAnnotations" value="true" /> <!-- Suppress in exceptions and LOG statements --> <property name="violationSuppressXPath"> <value> <![CDATA[./ancestor::ThrowStatement | ./ancestor::PrimaryExpression/PrimaryPrefix/Name[starts-with(@Image,'LOG.')]]]> </value> </property> </properties> </rule>
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Maven 3.6.0, pmd plugin 3.11.0, Java 8, Mac OS 10.14.1
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4