updating to pmd 3.7

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4478 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2006-08-01 13:28:45 +00:00
parent 83e9e58e52
commit 008c2e2ffc
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -380,7 +380,7 @@ public class PMDOpenTool {
}
private static void addPMDWarningMessage(RuleViolation rv, JavaFileNode node) {
PMDMessage pmdMsg = new PMDMessage(node.getDisplayName() + ": " + rv.getRule().getName() + ": " + rv.getDescription() + " at line " + rv.getNode().getBeginLine(), rv.getNode().getBeginLine(), node);
PMDMessage pmdMsg = new PMDMessage(node.getDisplayName() + ": " + rv.getRule().getName() + ": " + rv.getDescription() + " at line " + rv.getBeginLine(), rv.getBeginLine(), node);
pmdMsg.setForeground(Color.red);
pmdMsg.setFont(stdMsgFont);
Browser.getActiveBrowser().getMessageView().addMessage(msgCat, pmdMsg, false);