From a1d9480ac376955a23c3b23e6237a587139d86bb Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 2 Sep 2015 14:12:34 +0200 Subject: Fix quality flaws --- sonar-core/src/main/java/org/sonar/core/platform/PluginLoader.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sonar-core') 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. -- cgit v1.2.3