forked from phoedos/pmd
Upgrade embedded pmd-designer to 6.19.0
Also fix integration test with the additional language "text".
This commit is contained in:
@@ -14,6 +14,17 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### Updated PMD Designer
|
||||
|
||||
This PMD release ships a new version of the pmd-designer.
|
||||
For the changes, see [PMD Designer Changelog](https://github.com/pmd/pmd-designer/releases/tag/6.19.0).
|
||||
|
||||
#### Java Metrics
|
||||
|
||||
* The new metric "Class Fan Out Complexity" has been added. See
|
||||
[Java Metrics Documentation](pmd_java_metrics_index.html#class-fan-out-complexity-class_fan_out) for details.
|
||||
|
||||
|
||||
#### Modified Rules
|
||||
|
||||
* The Java rules {% rule "java/errorprone/InvalidSlf4jMessageFormat" %} and {% rule "java/errorprone/MoreThanOneLogger" %}
|
||||
@@ -34,11 +45,6 @@ This is a {{ site.pmd.release_type }} release.
|
||||
usages of `Executors` and `ExecutorService`. Both create new threads, which are not managed by a J2EE
|
||||
server.
|
||||
|
||||
#### Java Metrics
|
||||
|
||||
* The new metric "Class Fan Out Complexity" has been added. See
|
||||
[Java Metrics Documentation](pmd_java_metrics_index.html#class-fan-out-complexity-class_fan_out) for details.
|
||||
|
||||
### Fixed Issues
|
||||
|
||||
* core
|
||||
|
@@ -95,7 +95,8 @@ public class BinaryDistributionIT {
|
||||
ExecutionResult result;
|
||||
|
||||
result = PMDExecutor.runPMD(tempDir, "-h");
|
||||
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, plsql, pom, scala, vf, vm, wsdl, xml, xsl");
|
||||
// note: the language "text" is provided by pmd-designer
|
||||
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, plsql, pom, scala, text, vf, vm, wsdl, xml, xsl");
|
||||
|
||||
result = PMDExecutor.runPMDRules(tempDir, srcDir, "src/test/resources/rulesets/sample-ruleset.xml");
|
||||
result.assertExecutionResult(4, "JumbledIncrementer.java:8:");
|
||||
|
Reference in New Issue
Block a user