logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1405203 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Date Fri, 02 Nov 2012 22:50:02 GMT
Author: ggregory
Date: Fri Nov  2 22:50:02 2012
New Revision: 1405203

URL: http://svn.apache.org/viewvc?rev=1405203&view=rev
Log:
Rename lvar "r" to "resolver".

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java?rev=1405203&r1=1405202&r2=1405203&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Fri Nov  2 22:50:02 2012
@@ -137,10 +137,10 @@ public class PluginManager {
             preLoad = false;
         }
         long start = System.nanoTime();
-        ResolverUtil<?> r = new ResolverUtil();
+        ResolverUtil<?> resolver = new ResolverUtil();
         ClassLoader loader = Loader.getClassLoader();
         if (loader != null) {
-            r.setClassLoader(loader);
+            resolver.setClassLoader(loader);
         }
         if (preLoad) {
             ConcurrentMap<String, ConcurrentMap<String, PluginType>> map = decode(loader);
@@ -163,9 +163,9 @@ public class PluginManager {
         }
         ResolverUtil.Test test = new PluginTest(clazz);
         for (String pkg : packages) {
-            r.findInPackage(test, pkg);
+            resolver.findInPackage(test, pkg);
         }
-        for (Class<?> item : r.getClasses()) {
+        for (Class<?> item : resolver.getClasses()) {
             Plugin p = item.getAnnotation(Plugin.class);
             String pluginType = p.type();
             if (!pluginTypeMap.containsKey(pluginType)) {



Mime
View raw message