You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/07/20 00:12:15 UTC
svn commit: r1802442 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
Author: ggregory
Date: Thu Jul 20 00:12:15 2017
New Revision: 1802442
URL: http://svn.apache.org/viewvc?rev=1802442&view=rev
Log:
No need for temp var.
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java?rev=1802442&r1=1802441&r2=1802442&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java Thu Jul 20 00:12:15 2017
@@ -138,9 +138,7 @@ public class ZipFileSystem extends Abstr
{
if (zipFile == null && this.file.exists())
{
- final ZipFile zipFile = createZipFile(this.file);
-
- this.zipFile = zipFile;
+ this.zipFile = createZipFile(this.file);
}
return zipFile;