logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1566200 - /logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java
Date Sun, 09 Feb 2014 03:36:18 GMT
Author: ggregory
Date: Sun Feb  9 03:36:18 2014
New Revision: 1566200

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

Modified:
    logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java

Modified: logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java
URL: http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java?rev=1566200&r1=1566199&r2=1566200&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java
(original)
+++ logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/FileRenameAction.java
Sun Feb  9 03:36:18 2014
@@ -73,7 +73,7 @@ public final class FileRenameAction exte
    */
   public static boolean execute(
     final File source, final File destination, boolean renameEmptyFiles) {
-    if (renameEmptyFiles || (source.length() > 0)) {
+    if (renameEmptyFiles || source.length() > 0) {
       return source.renameTo(destination);
     }
 



Mime
View raw message