checkstyle fix

Former-commit-id: a2537f620af11103ebefa0f94afc60b35cc82be5
This commit is contained in:
Jeremy Long
2013-06-07 15:46:02 -04:00
parent 49eaca1290
commit 492c5d01bf

View File

@@ -158,7 +158,7 @@ public class ReportGenerator {
* reports.
*/
public void generateReports(String outputDir, String outputFormat) throws IOException, Exception {
String format = outputFormat.toUpperCase();
final String format = outputFormat.toUpperCase();
if (format.matches("^(XML|HTML|VULN|ALL)$")) {
if ("XML".equalsIgnoreCase(format)) {
generateReports(outputDir, Format.XML);