logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1506606 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Date Wed, 24 Jul 2013 16:01:46 GMT
Author: ggregory
Date: Wed Jul 24 16:01:46 2013
New Revision: 1506606

URL: http://svn.apache.org/r1506606
Log:
Remove superfluous parens.

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java?rev=1506606&r1=1506605&r2=1506606&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Wed Jul 24 16:01:46 2013
@@ -65,7 +65,7 @@ public class PropertiesUtil {
         } catch (final SecurityException e) {
             // Ignore
         }
-        return (prop == null) ? props.getProperty(name) : prop;
+        return prop == null ? props.getProperty(name) : prop;
     }
 
 



Mime
View raw message