diff options
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java | 2 | ||||
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java b/sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java index 88493d10d64..e23e8a816e3 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java @@ -125,7 +125,7 @@ public class ConsoleReport implements Reporter { int newIssues = r.totalNewIssues; if (newIssues > 0) { sb.append(StringUtils.leftPad("+" + newIssues, LEFT_PAD)).append(" issue" + (newIssues > 1 ? "s" : "")).append("\n\n"); - printNewIssues(sb, r.newBlockerIssues, Severity.BLOCKER, "blocking"); + printNewIssues(sb, r.newBlockerIssues, Severity.BLOCKER, "blocker"); printNewIssues(sb, r.newCriticalIssues, Severity.CRITICAL, "critical"); printNewIssues(sb, r.newMajorIssues, Severity.MAJOR, "major"); printNewIssues(sb, r.newMinorIssues, Severity.MINOR, "minor"); diff --git a/sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java b/sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java index 6bbc93aba52..f5a1482e608 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java @@ -97,7 +97,7 @@ public class ConsoleReportTest { assertThat(getReportLog()).isEqualTo( "\n\n------------- Issues Report -------------\n\n" + " +1 issue\n\n" + - " +1 blocking\n" + + " +1 blocker\n" + "\n-------------------------------------------\n\n"); } @@ -114,7 +114,7 @@ public class ConsoleReportTest { assertThat(getReportLog()).isEqualTo( "\n\n------------- Issues Report -------------\n\n" + " +5 issues\n\n" + - " +1 blocking\n" + + " +1 blocker\n" + " +1 critical\n" + " +1 major\n" + " +1 minor\n" + |