logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1599837 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java
Date Tue, 03 Jun 2014 23:36:13 GMT
Author: mattsicker
Date: Tue Jun  3 23:36:13 2014
New Revision: 1599837

URL: http://svn.apache.org/r1599837
Log:
Narrow scope of construction.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java?rev=1599837&r1=1599836&r2=1599837&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java
Tue Jun  3 23:36:13 2014
@@ -114,8 +114,8 @@ public class PluginManager {
             plugins = REGISTRY.getCategory(category);
             preLoad = false;
         }
-        final ResourceLoader loader = new ClassLoaderResourceLoader(Loader.getClassLoader());
         if (preLoad) {
+            final ResourceLoader loader = new ClassLoaderResourceLoader(Loader.getClassLoader());
             loadPlugins(loader);
         }
         plugins = REGISTRY.getCategory(category);



Mime
View raw message