Author: rgoers
Date: Mon Nov 16 06:46:03 2009
New Revision: 880625

URL: http://svn.apache.org/viewvc?rev=880625&view=rev
Log:
Apply patch for VFS-227

Modified:
    
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/FileContentThreadData.java
    commons/proper/vfs/trunk/xdocs/changes.xml

Modified: 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/FileContentThreadData.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/FileContentThreadData.java?rev=880625&r1=880624&r2=880625&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/FileContentThreadData.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/FileContentThreadData.java
 Mon Nov 16 06:46:03 2009
@@ -82,7 +82,7 @@
 
     public void removeInstr(InputStream instr)
     {
-        this.rastrs.remove(instr);
+        this.instrs.remove(instr);
     }
 
     public Object removeRastr(int pos)
@@ -92,7 +92,7 @@
 
     public void removeRastr(RandomAccessContent ras)
     {
-        this.instrs.remove(ras);
+        this.rastrs.remove(ras);
     }
 
     public boolean hasStreams()

Modified: commons/proper/vfs/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/xdocs/changes.xml?rev=880625&r1=880624&r2=880625&view=diff
==============================================================================
--- commons/proper/vfs/trunk/xdocs/changes.xml (original)
+++ commons/proper/vfs/trunk/xdocs/changes.xml Mon Nov 16 06:46:03 2009
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.0" date="in SVN" description="">
+      <action dev="rgoers" type="fix" issue="VFS-227" due-to="Sergey 
Vladimirov">
+        InputStream and RandomAccessContent memory leak in 
FileContentThreadData
+      </action>
       <action dev="rgoers" type="update" issue="VFS-263" due-to="Ingo Maas">
         WebdavFileObject does not implement doSetAttribute()
       </action>


Reply via email to