From 57837172fd21a658ee681dac58e8d450a0090e32 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Mon, 8 Jul 2002 17:59:33 +0000 Subject: [PATCH] added msg in case where there are no problems found git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@240 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java b/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java index 0338cf4615..af838863a1 100644 --- a/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java +++ b/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java @@ -66,7 +66,7 @@ public class PMDJEditPlugin extends EBPlugin { // TODO switch to use StringReader once PMD 0.4 gets released pmd.processFile(new StringBufferInputStream(text), rules, ctx); - String msg = ""; + String msg = "No errors found"; for (Iterator i = ctx.getReport().iterator(); i.hasNext();) { RuleViolation rv = (RuleViolation)i.next(); msg += rv.getDescription() + " at line " + rv.getLine() + System.getProperty("line.separator");