directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1728683 - /directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java
Date Fri, 05 Feb 2016 15:23:14 GMT
Author: elecharny
Date: Fri Feb  5 15:23:13 2016
New Revision: 1728683

URL: http://svn.apache.org/viewvc?rev=1728683&view=rev
Log:
Fixed a bad test

Modified:
    directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java

Modified: directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java
URL: http://svn.apache.org/viewvc/directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java?rev=1728683&r1=1728682&r2=1728683&view=diff
==============================================================================
--- directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java
(original)
+++ directory/mavibot/branches/single-value/mavibot/src/main/java/org/apache/directory/mavibot/btree/comparator/ByteArrayComparator.java
Fri Feb  5 15:23:13 2016
@@ -57,14 +57,7 @@ public class ByteArrayComparator impleme
 
         if ( byteArray1 == null )
         {
-            if ( byteArray2 == null )
-            {
-                return 0;
-            }
-            else
-            {
-                return -1;
-            }
+            return -1;
         }
         else
         {



Mime
View raw message