logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1566205 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Date Sun, 09 Feb 2014 03:43:36 GMT
Author: ggregory
Date: Sun Feb  9 03:43:36 2014
New Revision: 1566205

URL: http://svn.apache.org/r1566205
Log:
PMD: Remove unnecessary parens.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java?rev=1566205&r1=1566204&r2=1566205&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Sun Feb  9 03:43:36 2014
@@ -313,7 +313,7 @@ public abstract class ConfigurationFacto
 
         if (FileUtils.isFile(url)) {
             try {
-                return new ConfigurationSource(is, FileUtils.fileFromURI((url.toURI())));
+                return new ConfigurationSource(is, FileUtils.fileFromURI(url.toURI()));
             } catch (final URISyntaxException ex) {
                 // Just ignore the exception.
             }



Mime
View raw message