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 2013/08/08 04:09:21 UTC
svn commit: r1511559 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileOutputStream.java
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
{