jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r399332 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java
Date Wed, 03 May 2006 15:22:33 GMT
Author: stefan
Date: Wed May  3 08:22:31 2006
New Revision: 399332

URL: http://svn.apache.org/viewcvs?rev=399332&view=rev
Log:
JCR-424 PropertyState binary type deserialization only returns half of content

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java?rev=399332&r1=399331&r2=399332&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java
Wed May  3 08:22:31 2006
@@ -304,7 +304,7 @@
                             if ((consumed + len) > length) {
                                 len = (int) (length - consumed);
                             }
-                            int read = super.read(b, off, len);
+                            int read = stream.read(b, off, len);
                             consumed += read;
                             return read;
                         }
@@ -316,7 +316,7 @@
                             if ((consumed + n) > length) {
                                 n = length - consumed;
                             }
-                            long skipped = super.skip(n);
+                            long skipped = stream.skip(n);
                             consumed += skipped;
                             return skipped;
                         }



Mime
View raw message