summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-11-26 12:28:15 +0000
committerGodin <mandrikov@gmail.com>2010-11-26 12:28:15 +0000
commitcb5f5b4b6fb263e414eb3222eca81796ef89845d (patch)
treebe22fef34fea55ce2e6102a27718af2a514187e1 /sonar-core
parente4381e4c5a7b6c179c04a8741258049d292fcd1e (diff)
downloadsonarqube-cb5f5b4b6fb263e414eb3222eca81796ef89845d.tar.gz
sonarqube-cb5f5b4b6fb263e414eb3222eca81796ef89845d.zip
Fix logging from ClassLoadersCollection
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java b/sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java
index 30ccc5a99d3..ac3b0f6afab 100644
--- a/sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java
+++ b/sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java
@@ -30,6 +30,7 @@ import org.codehaus.plexus.classworlds.ClassWorld;
import org.codehaus.plexus.classworlds.realm.ClassRealm;
import org.codehaus.plexus.classworlds.realm.DuplicateRealmException;
import org.codehaus.plexus.classworlds.realm.NoSuchRealmException;
+import org.sonar.api.utils.Logs;
import org.sonar.api.utils.SonarException;
import com.google.common.collect.Lists;
@@ -128,8 +129,7 @@ public class ClassLoadersCollection {
* Exports specified packages from given ClassRealm to all others.
*/
private void export(ClassRealm realm, String... packages) {
- // Logs.INFO.debug("Exporting " + Arrays.toString(packages) + " from " + realm.getId());
- System.out.println("Exporting " + Arrays.toString(packages) + " from " + realm.getId());
+ Logs.INFO.debug("Exporting " + Arrays.toString(packages) + " from " + realm.getId());
for (Object o : world.getRealms()) {
ClassRealm dep = (ClassRealm) o;
if ( !StringUtils.equals(dep.getId(), realm.getId())) {