Fixed a bad test
authorEmmanuel Lécharny <elecharny@apache.org>
Fri, 5 Feb 2016 15:22:29 +0000 (15:22 +0000)
committerEmmanuel Lécharny <elecharny@apache.org>
Fri, 5 Feb 2016 15:22:29 +0000 (15:22 +0000)
mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java

index 0b74659..bfe54d9 100644 (file)
@@ -57,14 +57,7 @@ public class ByteArrayComparator implements Comparator<byte[]>
 
         if ( byteArray1 == null )
         {
-            if ( byteArray2 == null )
-            {
-                return 0;
-            }
-            else
-            {
-                return -1;
-            }
+            return -1;
         }
         else
         {