clean up initinfo warnings report
@@ -104,6 +104,7 @@ public class InitInfoQuestionPlugin extends QuestionPlugin {
}
}
sb.append("STATISTICS\n");
+ if (!_warnings.isEmpty()) {
sb.append(" Total warnings:\n");
if (redFlagCount > 0) {
sb.append(" Red Flag: " + redFlagCount + "\n");
@@ -114,6 +115,7 @@ public class InitInfoQuestionPlugin extends QuestionPlugin {
if (pedanticCount > 0) {
sb.append(" Pedantic: " + pedanticCount + "\n");
}
+ }
sb.append(" Parsing results:\n");
if (passedCount > 0) {
sb.append(" Parsed successfully: " + passedCount + "\n");
