Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B7F972F1 for ; Tue, 20 Sep 2011 17:12:07 +0000 (UTC) Received: (qmail 16653 invoked by uid 500); 20 Sep 2011 17:12:07 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 16626 invoked by uid 500); 20 Sep 2011 17:12:07 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 16619 invoked by uid 99); 20 Sep 2011 17:12:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 17:12:07 +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; Tue, 20 Sep 2011 17:12:00 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5996F238897A for ; Tue, 20 Sep 2011 17:11:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1173261 - /camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java Date: Tue, 20 Sep 2011 17:11:40 -0000 To: commits@camel.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110920171140.5996F238897A@eris.apache.org> Author: dkulp Date: Tue Sep 20 17:11:39 2011 New Revision: 1173261 URL: http://svn.apache.org/viewvc?rev=1173261&view=rev Log: Fix a minor issue Modified: camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java Modified: camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java?rev=1173261&r1=1173260&r2=1173261&view=diff ============================================================================== --- camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java (original) +++ camel/branches/camel-2.8.x/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java Tue Sep 20 17:11:39 2011 @@ -440,11 +440,10 @@ public abstract class TestSupport extend for (int i = 0; i < files.length; i++) { recursivelyDeleteDirectory(files[i]); } - } else { - boolean success = file.delete(); - if (!success) { - LOG.warn("Deletion of file: " + file.getAbsolutePath() + " failed"); - } + } + boolean success = file.delete(); + if (!success) { + LOG.warn("Deletion of file: " + file.getAbsolutePath() + " failed"); } }