checkstyle fix

Former-commit-id: 193f06ad6458fe0aead3703f6019e6dc6ac37aec
This commit is contained in:
Jeremy Long
2013-06-07 15:46:02 -04:00
parent 5015686a8f
commit 27affe8568

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