Author: bayard
Date: Tue Mar 25 00:52:27 2008
New Revision: 640732

URL: http://svn.apache.org/viewvc?rev=640732&view=rev
Log:
Removed the recursive method call, and pointed the read(byte[]) to the 
read(byte[],int,int) method as per VFS-190

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

Modified: 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java?rev=640732&r1=640731&r2=640732&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java
 Tue Mar 25 00:52:27 2008
@@ -105,12 +105,11 @@
 
                        public void close() throws IOException
                        {
-                               close();
                        }
 
                        public int read(byte b[]) throws IOException
                        {
-                               return read(b);
+                               return read(b, 0, b.length);
                        }
 
                        public int read(byte b[], int off, int len) throws 
IOException


Reply via email to