commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1511559 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java
Date Thu, 08 Aug 2013 02:09:21 GMT
Author: ggregory
Date: Thu Aug  8 02:09:21 2013
New Revision: 1511559

URL: http://svn.apache.org/r1511559
Log:
Better ivar name.

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java?rev=1511559&r1=1511558&r2=1511559&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java
Thu Aug  8 02:09:21 2013
@@ -40,7 +40,7 @@ public class RamFileOutputStream extends
     /** File is open or closed */
     protected boolean closed = false;
 
-    private IOException exc;
+    private IOException exception;
 
     /**
      * @param file The base file.
@@ -68,7 +68,7 @@ public class RamFileOutputStream extends
         }
         catch (final IOException e)
         {
-            this.exc = e;
+            this.exception = e;
             throw e;
         }
         System.arraycopy(b, off, this.file.getData().getContent(), size, len);
@@ -99,9 +99,9 @@ public class RamFileOutputStream extends
             return;
         }
         // Notify on close that there was an IOException while writing
-        if (exc != null)
+        if (exception != null)
         {
-            throw exc;
+            throw exception;
         }
         try
         {



Mime
View raw message