commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1408717 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java
Date Tue, 13 Nov 2012 13:36:08 GMT
Author: ggregory
Date: Tue Nov 13 13:36:08 2012
New Revision: 1408717

URL: http://svn.apache.org/viewvc?rev=1408717&view=rev
Log:
In-line lvar.

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java?rev=1408717&r1=1408716&r2=1408717&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java
Tue Nov 13 13:36:08 2012
@@ -79,8 +79,7 @@ public class ResourceFileProvider extend
             throw new FileSystemException("vfs.provider.url/badly-formed-uri.error", uri);
         }
 
-        FileObject fo = getContext().getFileSystemManager().resolveFile(url.toExternalForm());
-        return fo;
+        return getContext().getFileSystemManager().resolveFile(url.toExternalForm());
     }
 
     @Override



Mime
View raw message