aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-12-09 22:02:28 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-12-09 22:02:28 +0100
commitf0cbff8e9697dd5cb4999eee5e6f92871eacdfe2 (patch)
tree300024d21d9653b784d0eca86d9b818631f3612e /sonar-batch
parent9b8d4d064f0c719ae1a96fc2140912a90b367706 (diff)
downloadsonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.tar.gz
sonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.zip
Fix some quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java b/sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java
index 2d924d02043..c6f9bf8530a 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/scan/report/JsonReport.java
@@ -216,7 +216,7 @@ public class JsonReport implements BatchComponent {
}
private String getRuleName(RuleKey ruleKey) {
- return ruleI18nManager.getName(ruleKey.repository(), ruleKey.rule(), Locale.getDefault());
+ return ruleI18nManager.getName(ruleKey.repository(), ruleKey.rule());
}
@VisibleForTesting