logging-commits mailing list archives

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

URL: http://svn.apache.org/r1566202
Log:
Statement unnecessarily nested within else clause.

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

Modified: logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/CompositeAction.java
URL: http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/CompositeAction.java?rev=1566202&r1=1566201&r2=1566202&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/CompositeAction.java
(original)
+++ logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/CompositeAction.java
Sun Feb  9 03:39:29 2014
@@ -77,8 +77,8 @@ public class CompositeAction extends Act
       }
 
       return true;
-    } else {
-      boolean status = true;
+    }
+    boolean status = true;
       IOException exception = null;
 
       for (int i = 0; i < actions.length; i++) {
@@ -98,6 +98,5 @@ public class CompositeAction extends Act
       }
 
       return status;
-    }
   }
 }



Mime
View raw message