forked from phoedos/pmd
more JDBC listener cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1353 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -36,8 +36,10 @@ public class PMDTask extends Task {
|
||||
renderer = new XMLRenderer();
|
||||
} else if (type.equals("html")) {
|
||||
renderer = new HTMLRenderer();
|
||||
} else if (type.equals("text")) {
|
||||
renderer = new TextRenderer();
|
||||
} else {
|
||||
throw new BuildException("Formatter type must be either 'xml' or 'html'; you specified " + type);
|
||||
throw new BuildException("Formatter type must be 'xml', 'text', or 'html'; you specified " + type);
|
||||
}
|
||||
}
|
||||
public void setToFile(String toFile) {this.toFile = toFile;}
|
||||
|
Reference in New Issue
Block a user