Added rule name to LogWindow output

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2301 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-10-09 13:50:17 +00:00
parent 41bbeadd93
commit 19de3611e7
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
??? - 0.6:
Added rule name to LogWindow; thx to Roman Legat for the suggestion.
August 27 2003 - 0.5:
Updated to pmd-1.2.1.

View File

@ -15,6 +15,6 @@ public class RuleViolationWrapper {
}
public String toString() {
return ruleViolation.getFilename() + "; line " + ruleViolation.getLine() +"; "+ ruleViolation.getDescription();
return ruleViolation.getFilename() + "; line " + ruleViolation.getLine() +"; ("+ ruleViolation.getRule().getName() + ") " + ruleViolation.getDescription();
}
}