From 17fd2793ef4902ebd7b8825246250efd5a1348da Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Thu, 6 Mar 2003 17:25:56 +0000 Subject: [PATCH] Added errors to text renderer git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1509 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/renderers/TextRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd/src/net/sourceforge/pmd/renderers/TextRenderer.java b/pmd/src/net/sourceforge/pmd/renderers/TextRenderer.java index af6005c4a2..b3c7ee5d3a 100644 --- a/pmd/src/net/sourceforge/pmd/renderers/TextRenderer.java +++ b/pmd/src/net/sourceforge/pmd/renderers/TextRenderer.java @@ -18,10 +18,10 @@ public class TextRenderer implements Renderer { buf.append("\t" + rv.getDescription()); } for (Iterator i = report.errors(); i.hasNext();) { - Report.ProcessingError rv = (Report.ProcessingError) i.next(); - buf.append(EOL + rv.getFile()); + Report.ProcessingError error = (Report.ProcessingError) i.next(); + buf.append(EOL + error.getFile()); buf.append("\t-"); - buf.append("\t" + rv.getMsg()); + buf.append("\t" + error.getMsg()); } return buf.toString(); }