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:
@ -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.
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user