directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1075080 - in /directory/shared/branches/akarasulu/ldap-codec/src: main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/ test/java/org/apache/directory/shared/ldap/codec/osgi/
Date Sun, 27 Feb 2011 15:44:56 GMT
Author: akarasulu
Date: Sun Feb 27 15:44:56 2011
New Revision: 1075080

URL: http://svn.apache.org/viewvc?rev=1075080&view=rev
Log:
updating message id in name setting action, and initializing default codec service for tests

Modified:
    directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestName.java
    directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java

Modified: directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestName.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestName.java?rev=1075080&r1=1075079&r2=1075080&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestName.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestName.java
Sun Feb 27 15:44:56 2011
@@ -100,6 +100,7 @@ public class StoreExtendedRequestName ex
                 }
 
                 req = LdapCodecServiceFactory.getSingleton().newExtendedRequest( requestName,
null );
+                req.setMessageId( container.getMessageId() );
                 container.setMessage( LdapCodecServiceFactory.getSingleton().decorate( req
) );
             }
             catch ( DecoderException de )

Modified: directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java?rev=1075080&r1=1075079&r2=1075080&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
Sun Feb 27 15:44:56 2011
@@ -21,6 +21,7 @@ package org.apache.directory.shared.ldap
 
 
 import org.apache.directory.shared.ldap.codec.LdapEncoder;
+import org.apache.directory.shared.ldap.codec.api.LdapCodecServiceFactory;
 import org.apache.directory.shared.ldap.codec.osgi.DefaultLdapCodecService;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
@@ -46,6 +47,7 @@ public abstract class AbstractCodecServi
     public static void setupLdapCodecService()
     {
         codec = new DefaultLdapCodecService();
+        LdapCodecServiceFactory.initialize( codec );
         encoder = new LdapEncoder( codec );
     }
 



Mime
View raw message