commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1344654 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
Date Thu, 31 May 2012 11:46:42 GMT
Author: ggregory
Date: Thu May 31 11:46:42 2012
New Revision: 1344654

URL: http://svn.apache.org/viewvc?rev=1344654&view=rev
Log:
Remove needless local variable.

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java?rev=1344654&r1=1344653&r2=1344654&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
Thu May 31 11:46:42 2012
@@ -75,8 +75,7 @@ public class RamFileSystem extends Abstr
     @Override
     protected FileObject createFile(AbstractFileName name) throws Exception
     {
-        RamFileObject file = new RamFileObject(name, this);
-        return file;
+        return new RamFileObject(name, this);
     }
 
     /*



Mime
View raw message