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:
Tom Copeland
2003-01-21 14:43:21 +00:00
parent 2c09ebb12d
commit dbbe856d56

View File

@ -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;}