aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness/src/main/java/org/sonar/test/i18n
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-30 10:39:54 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-30 10:40:57 +0200
commit3176e6a63f06386a78ea73d69c5f082959562ac3 (patch)
treeca3f84a3bb67d36bbb0efced95f1e2930f95e4ac /sonar-testing-harness/src/main/java/org/sonar/test/i18n
parent6c6dbc10e0e8f7685c3b509acd1c93b8fe84e92b (diff)
downloadsonarqube-3176e6a63f06386a78ea73d69c5f082959562ac3.tar.gz
sonarqube-3176e6a63f06386a78ea73d69c5f082959562ac3.zip
Fix quality flaws
Diffstat (limited to 'sonar-testing-harness/src/main/java/org/sonar/test/i18n')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/i18n/I18nMatchers.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/I18nMatchers.java b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/I18nMatchers.java
index 360685bec9b..b681961f83d 100644
--- a/sonar-testing-harness/src/main/java/org/sonar/test/i18n/I18nMatchers.java
+++ b/sonar-testing-harness/src/main/java/org/sonar/test/i18n/I18nMatchers.java
@@ -56,7 +56,7 @@ public final class I18nMatchers {
}
Collection<File> bundles = FileUtils.listFiles(bundleFolder, new String[]{"properties"}, false);
- Map<String, String> failedAssertionMessages = new HashMap();
+ Map<String, String> failedAssertionMessages = new HashMap<>();
for (File bundle : bundles) {
String bundleName = bundle.getName();
if (bundleName.indexOf('_') > 0) {