directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r642800 - in /directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm: ForwardIndexEntry.java ReverseIndexEntry.java
Date Sun, 30 Mar 2008 18:35:50 GMT
Author: akarasulu
Date: Sun Mar 30 11:35:43 2008
New Revision: 642800

URL: http://svn.apache.org/viewvc?rev=642800&view=rev
Log:
toString for these guys was printing key/value in wrong order: swapped em

Modified:
    directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ForwardIndexEntry.java
    directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ReverseIndexEntry.java

Modified: directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ForwardIndexEntry.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ForwardIndexEntry.java?rev=642800&r1=642799&r2=642800&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ForwardIndexEntry.java
(original)
+++ directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ForwardIndexEntry.java
Sun Mar 30 11:35:43 2008
@@ -119,9 +119,9 @@
     {
         StringBuilder buf = new StringBuilder();
         buf.append( "ForwardIndexEntry[ " );
-        buf.append( tuple.getValue() );
-        buf.append( ", " );
         buf.append( tuple.getKey() );
+        buf.append( ", " );
+        buf.append( tuple.getValue() );
         buf.append( " ]" );
         return buf.toString();
     }

Modified: directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ReverseIndexEntry.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ReverseIndexEntry.java?rev=642800&r1=642799&r2=642800&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ReverseIndexEntry.java
(original)
+++ directory/sandbox/akarasulu/bigbang/apacheds/btree-base/src/main/java/org/apache/directory/server/xdbm/ReverseIndexEntry.java
Sun Mar 30 11:35:43 2008
@@ -119,9 +119,9 @@
     {
         StringBuilder buf = new StringBuilder();
         buf.append( "ReverseIndexEntry[ " );
-        buf.append( tuple.getKey() );
-        buf.append( ", " );
         buf.append( tuple.getValue() );
+        buf.append( ", " );
+        buf.append( tuple.getKey() );
         buf.append( " ]" );
         return buf.toString();
     }



Mime
View raw message