logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1448513 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Date Thu, 21 Feb 2013 05:17:15 GMT
Author: ggregory
Date: Thu Feb 21 05:17:15 2013
New Revision: 1448513

URL: http://svn.apache.org/r1448513
Log:
Remove extra ()'s.

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=1448513&r1=1448512&r2=1448513&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
Thu Feb 21 05:17:15 2013
@@ -374,7 +374,7 @@ public abstract class ConfigurationFacto
         }
 
         private Configuration getConfiguration(final boolean isTest, final String name) {
-            final boolean named = (name != null && name.length() > 0);
+            final boolean named = name != null && name.length() > 0;
             final ClassLoader loader = this.getClass().getClassLoader();
             for (final ConfigurationFactory factory : factories) {
                 String configName;



Mime
View raw message