diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-02 14:12:34 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-02 14:12:34 +0200 |
commit | a1d9480ac376955a23c3b23e6237a587139d86bb (patch) | |
tree | 180bb3409ca09fa78344e1a0f82dd1f38ec739cd /sonar-core | |
parent | 259fa0a5f2076aad072ea5f83980948553089fa8 (diff) | |
download | sonarqube-a1d9480ac376955a23c3b23e6237a587139d86bb.tar.gz sonarqube-a1d9480ac376955a23c3b23e6237a587139d86bb.zip |
Fix quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java b/sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java index ea5850f709e..d77de10243e 100644 --- a/sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java +++ b/sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java @@ -93,9 +93,9 @@ public class PluginLoader { def.addFiles(explodedPlugin.getLibs()); def.addMainClass(info.getKey(), info.getMainClass()); - for (String defaultSharedResource : DEFAULT_SHARED_RESOURCES) { - def.getExportMask().addInclusion(String.format("%s/%s/api/", defaultSharedResource, info.getKey())); - } + for (String defaultSharedResource : DEFAULT_SHARED_RESOURCES) { + def.getExportMask().addInclusion(String.format("%s/%s/api/", defaultSharedResource, info.getKey())); + } // The plugins that extend other plugins can only add some files to classloader. // They can't change metadata like ordering strategy or compatibility mode. |