commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1403390 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Date Mon, 29 Oct 2012 15:54:36 GMT
Author: ggregory
Date: Mon Oct 29 15:54:36 2012
New Revision: 1403390

URL: http://svn.apache.org/viewvc?rev=1403390&view=rev
Log:
No need for lvar: in-line.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java?rev=1403390&r1=1403389&r2=1403390&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Mon Oct 29 15:54:36 2012
@@ -1145,8 +1145,7 @@ public abstract class AbstractFileObject
             }
 
             // Delete the file
-            boolean deleted = file.deleteSelf();
-            if (deleted)
+            if (file.deleteSelf())
             {
                 nuofDeleted++;
             }



Mime
View raw message