You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2014/02/09 04:39:29 UTC
svn commit: r1566202 -
/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rolling/helper/CompositeAction.java
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;
- }
}
}