diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-11-12 12:31:59 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-11-12 12:31:59 +0100 |
commit | 5bf38605be76726351c0831cc67d7141952e4a2e (patch) | |
tree | ff1cf70c99e67369767eed01d8c14023f3d40089 /sonar-core | |
parent | 130c447b05766d2bf5082b8d56fd186c5bf192cf (diff) | |
download | sonarqube-5bf38605be76726351c0831cc67d7141952e4a2e.tar.gz sonarqube-5bf38605be76726351c0831cc67d7141952e4a2e.zip |
SONAR-3952 L10n bundles won't be found in a specific case
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/i18n/I18nClassloader.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/i18n/I18nClassloader.java b/sonar-core/src/main/java/org/sonar/core/i18n/I18nClassloader.java index 428635b746e..9eb4f43c891 100644 --- a/sonar-core/src/main/java/org/sonar/core/i18n/I18nClassloader.java +++ b/sonar-core/src/main/java/org/sonar/core/i18n/I18nClassloader.java @@ -38,10 +38,7 @@ class I18nClassloader extends URLClassLoader { for (PluginMetadata metadata : pluginRepository.getMetadata()) { Plugin plugin = pluginRepository.getPlugin(metadata.getKey()); - ClassLoader classloader = plugin.getClass().getClassLoader(); - if (classloader.getResource("org/sonar/l10n/") != null) { - list.add(classloader); - } + list.add(plugin.getClass().getClassLoader()); } this.pluginClassloaders = list.toArray(new ClassLoader[list.size()]); |