logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1459968 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Date Fri, 22 Mar 2013 20:24:24 GMT
Author: ggregory
Date: Fri Mar 22 20:24:23 2013
New Revision: 1459968

URL: http://svn.apache.org/r1459968
Log:
Better lvar name.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java?rev=1459968&r1=1459967&r2=1459968&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Fri Mar 22 20:24:23 2013
@@ -112,9 +112,9 @@ public abstract class ConfigurationFacto
                     for (final PluginType type : plugins.values()) {
                         try {
                             final Class<ConfigurationFactory> clazz = type.getPluginClass();
-                            final Order o = clazz.getAnnotation(Order.class);
-                            final Integer weight = o.value();
-                            if (o != null) {
+                            final Order order = clazz.getAnnotation(Order.class);
+                            final Integer weight = order.value();
+                            if (order != null) {
                                 ordered.add(new WeightedFactory(weight, clazz));
                             }
                         } catch (final Exception ex) {



Mime
View raw message