directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1164834 - /directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
Date Sat, 03 Sep 2011 08:36:07 GMT
Author: elecharny
Date: Sat Sep  3 08:36:07 2011
New Revision: 1164834

URL: http://svn.apache.org/viewvc?rev=1164834&view=rev
Log:
One more readFully replacing a buggy read

Modified:
    directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java

Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java?rev=1164834&r1=1164833&r2=1164834&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
(original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
Sat Sep  3 08:36:07 2011
@@ -181,7 +181,7 @@ public class ArrayMarshaller<E> implemen
                 {
                     byte[] bytes = new byte[ dataSize ];
                     
-                    din.read( bytes );
+                    din.readFully( bytes );
                     E key = keyMarshaller.deserialize( bytes );
                     nodes[i] = key;
                 }



Mime
View raw message