aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-02 14:12:34 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-02 14:12:34 +0200
commita1d9480ac376955a23c3b23e6237a587139d86bb (patch)
tree180bb3409ca09fa78344e1a0f82dd1f38ec739cd /sonar-core
parent259fa0a5f2076aad072ea5f83980948553089fa8 (diff)
downloadsonarqube-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.java6
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.