directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1063763 - in /directory/shared/trunk/ldap/src: main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java
Date Wed, 26 Jan 2011 15:49:21 GMT
Author: elecharny
Date: Wed Jan 26 15:49:20 2011
New Revision: 1063763

URL: http://svn.apache.org/viewvc?rev=1063763&view=rev
Log:
Fixed the EntryChange encoding

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java?rev=1063763&r1=1063762&r2=1063763&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/entryChange/EntryChange.java
Wed Jan 26 15:49:20 2011
@@ -94,7 +94,7 @@ public class EntryChange extends BasicCo
      */
     public EntryChange()
     {
-        super( "" );
+        super( OID );
     }
 
 

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java?rev=1063763&r1=1063762&r2=1063763&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlTest.java
Wed Jan 26 15:49:20 2011
@@ -354,7 +354,7 @@ public class EntryChangeControlTest
         entry.setChangeNumber( 16 );
         entry.setPreviousDn( new Dn( "a=b" ) );
         bb = decorator.encode( ByteBuffer.allocate( decorator.computeLength() ) );
-        String decoded = Strings.dumpBytes(bb.array());
+        String decoded = Strings.dumpBytes( bb.array() );
         assertEquals( expected, decoded );
     }
 



Mime
View raw message