directory-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1164833&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/AvlTreeMarshaller.java

Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java?rev=1164833&r1=1164832&r2=1164833&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
(original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
Sat Sep  3 08:35:48 2011
@@ -231,7 +231,7 @@ public class AvlTreeMarshaller<E> implem
         byte[] data = new byte[ dLen ];
 
         //noinspection ResultOfMethodCallIgnored
-        in.read( data );
+        in.readFully( data );
 
         E key = keyMarshaller.deserialize( data );
         node = new LinkedAvlNode( key );



Mime
View raw message