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(); }