aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-05-11 12:15:39 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-05-11 12:16:33 +0200
commit93226c3a8f2b8ad7837e5c9784385cefdbbdf36d (patch)
tree0a3271e371e7b5553cd9da32339f270afaddb502 /sonar-batch
parent65804fb86993e7db3fa946625cec423c3603595c (diff)
downloadsonarqube-93226c3a8f2b8ad7837e5c9784385cefdbbdf36d.tar.gz
sonarqube-93226c3a8f2b8ad7837e5c9784385cefdbbdf36d.zip
Update console issues report: blocking -> blocker
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/scan/report/ConsoleReport.java2
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/scan/report/ConsoleReportTest.java4
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" +