diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-07-01 23:22:14 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-07-01 23:22:14 +0200 |
commit | 741384c532587cc786937415ab8fe574ab852b27 (patch) | |
tree | d3058f16fc6d5c3e2c192c5e7e7e61ea408245e7 /sonar-core/src | |
parent | 71d081723ed915d183403375cb384a0e488b52d1 (diff) | |
download | sonarqube-741384c532587cc786937415ab8fe574ab852b27.tar.gz sonarqube-741384c532587cc786937415ab8fe574ab852b27.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java b/sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java index d00f8242c95..3565ee5639d 100644 --- a/sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java +++ b/sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java @@ -180,7 +180,7 @@ public class PluginClassloaders { String[] packagesToExport = new String[PREFIXES_TO_EXPORT.length]; for (int i = 0; i < PREFIXES_TO_EXPORT.length; i++) { // important to have dot at the end of package name only for classworlds 1.1 - packagesToExport[i] = PREFIXES_TO_EXPORT[i] + realm.getId() + ".api"; + packagesToExport[i] = String.format("%s%s.api", PREFIXES_TO_EXPORT[i], realm.getId()); } export(realm, packagesToExport); } |