camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
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 GMT
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");
         }
     }
 



Mime
View raw message