Skip to content

Commit 94a1b3d

Browse files
author
Amit Dev Ranjit
committed
Update manifest to PMD 6.25 and fix message
1 parent 0ca439e commit 94a1b3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/META-INF/plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<description>A plugin to run static analysis using PMD in intelliJ.</description>
55

66
<change-notes>
7-
Update PMD plugin to use PMD 6.21.
7+
Update PMD plugin to use PMD 6.25.
88
</change-notes>
99

10-
<version>1.8.12</version>
10+
<version>1.8.13</version>
1111
<vendor>Amit Dev</vendor>
1212

13-
<idea-version since-build="181.0"/>
13+
<idea-version since-build="201.0"/>
1414
<project-components>
1515
<component>
1616
<implementation-class>com.intellij.plugins.bodhi.pmd.PMDProjectComponent</implementation-class>

src/com/intellij/plugins/bodhi/pmd/core/PMDResultCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void renderFileViolations(Iterator<RuleViolation> violations) throws IOEx
178178
for (; violations.hasNext();) {
179179
RuleViolation iRuleViolation = violations.next();
180180
PMDResultCollector.report.addRuleViolation(iRuleViolation);
181-
String message = iRuleViolation.getRule().getName() + ". " + iRuleViolation.getRule().getDescription();
181+
String message = iRuleViolation.getRule().getName() + ": " + iRuleViolation.getRule().getMessage();
182182
DefaultMutableTreeNode node = map.get(message);
183183
if (node == null) {
184184
node = nodeFactory.createNode(shortMessage(message));

0 commit comments

Comments
 (0)