Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7746A100C5 for ; Sun, 9 Feb 2014 03:39:54 +0000 (UTC) Received: (qmail 79525 invoked by uid 500); 9 Feb 2014 03:39:54 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 79503 invoked by uid 500); 9 Feb 2014 03:39:51 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 79495 invoked by uid 99); 9 Feb 2014 03:39:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Feb 2014 03:39:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Feb 2014 03:39:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 79E792388993; Sun, 9 Feb 2014 03:39:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@logging.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140209033929.79E792388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; - } } }