forked from phoedos/pmd
Fixed typo, thx to A.M. Berg for the report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4648 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -75,7 +75,7 @@
|
||||
<classpath>
|
||||
<path refid="dependencies.path" />
|
||||
</classpath>
|
||||
<formatter type="text" toConsole="true" linkPrefix="http://pmd.sf.net/xref/" />
|
||||
<formatter type="csv" toFile="rpt.csv" toConsole="true" linkPrefix="http://pmd.sf.net/xref/" />
|
||||
<fileset dir="/usr/local/java/src/java/net/">
|
||||
<include name="**/*.java" />
|
||||
</fileset>
|
||||
|
@ -14,6 +14,7 @@ import net.sourceforge.pmd.renderers.TextRenderer;
|
||||
import net.sourceforge.pmd.renderers.VBHTMLRenderer;
|
||||
import net.sourceforge.pmd.renderers.XMLRenderer;
|
||||
import net.sourceforge.pmd.renderers.YAHTMLRenderer;
|
||||
import net.sourceforge.pmd.renderers.CSVRenderer;
|
||||
import org.apache.tools.ant.BuildException;
|
||||
|
||||
import java.io.BufferedWriter;
|
||||
@ -55,7 +56,7 @@ public class Formatter {
|
||||
public Renderer build(Object[] arg) { return new PapariTextRenderer(); }
|
||||
});
|
||||
renderersByCode.put("csv", new RendererBuilder() {
|
||||
public Renderer build(Object[] arg) { return new TextRenderer(); }
|
||||
public Renderer build(Object[] arg) { return new CSVRenderer(); }
|
||||
});
|
||||
renderersByCode.put("emacs", new RendererBuilder() {
|
||||
public Renderer build(Object[] arg) { return new EmacsRenderer(); }
|
||||
|
@ -52,6 +52,7 @@
|
||||
</subsection>
|
||||
<subsection name="Contributors">
|
||||
<ul>
|
||||
<li>A.M. Berg - Reported bug in Ant task</li>
|
||||
<li>Jason Bennett - Fix for UnnecessaryLocalBeforeReturn, wrote NPathComplexity rule, patches to improve CyclomaticComplexity rule</li>
|
||||
<li>Brent Fisher - SummaryHTML report improvements</li>
|
||||
<li>George Thomas - Wrote AvoidRethrowingException rule</li>
|
||||
|
Reference in New Issue
Block a user