directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1072835 - in /directory/shared/branches/akarasulu: ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/ ldap-codec/src...
Date Mon, 21 Feb 2011 03:22:53 GMT
Author: akarasulu
Date: Mon Feb 21 03:22:52 2011
New Revision: 1072835

URL: http://svn.apache.org/viewvc?rev=1072835&view=rev
Log:
fixing compilation errors and generics issues

Modified:
    directory/shared/branches/akarasulu/ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
    directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/InitExtendedRequest.java
    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/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestValue.java
    directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/api/MessageDecorator.java
    directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
    directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/ExtrasBundleActivator.java

Modified: directory/shared/branches/akarasulu/ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec-standalone/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
Mon Feb 21 03:22:52 2011
@@ -75,8 +75,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -90,7 +90,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -146,8 +146,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -161,7 +161,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -228,8 +228,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -243,7 +243,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -300,8 +300,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -336,8 +336,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -373,8 +373,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -411,8 +411,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -426,7 +426,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -477,8 +477,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -492,7 +492,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );

Modified: directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/InitExtendedRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/InitExtendedRequest.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/InitExtendedRequest.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/InitExtendedRequest.java
Mon Feb 21 03:22:52 2011
@@ -25,6 +25,7 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.ldap.codec.LdapMessageContainer;
 import org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator;
 import org.apache.directory.shared.ldap.model.message.ExtendedRequestImpl;
+import org.apache.directory.shared.ldap.model.message.ExtendedResponseImpl;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -37,7 +38,7 @@ import org.slf4j.LoggerFactory;
  * </pre>
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class InitExtendedRequest extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator>>
+public class InitExtendedRequest extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator<?,?>>>
 {
     /** The logger */
     private static final Logger LOG = LoggerFactory.getLogger( InitExtendedRequest.class
);
@@ -54,11 +55,13 @@ public class InitExtendedRequest extends
     /**
      * {@inheritDoc}
      */
-    public void action( LdapMessageContainer<ExtendedRequestDecorator> container )
throws DecoderException
+    public void action( LdapMessageContainer<ExtendedRequestDecorator<?,?>> container
) throws DecoderException
     {
         // Now, we can allocate the ExtendedRequest Object
-        ExtendedRequestDecorator extendedRequest = new ExtendedRequestDecorator(
-            container.getLdapCodecService(), new ExtendedRequestImpl( container.getMessageId()
) );
+        ExtendedRequestDecorator<?,?> extendedRequest = 
+            new ExtendedRequestDecorator<ExtendedRequestImpl,ExtendedResponseImpl>(
+                container.getLdapCodecService(), 
+                new ExtendedRequestImpl( container.getMessageId() ) );
         container.setMessage( extendedRequest );
 
         LOG.debug( "Extended request" );

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=1072835&r1=1072834&r2=1072835&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
Mon Feb 21 03:22:52 2011
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
  * </pre>
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class StoreExtendedRequestName extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator>>
+public class StoreExtendedRequestName extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator<?,?>>>
 {
     /** The logger */
     private static final Logger LOG = LoggerFactory.getLogger( StoreExtendedRequestName.class
);
@@ -61,10 +61,10 @@ public class StoreExtendedRequestName ex
     /**
      * {@inheritDoc}
      */
-    public void action( LdapMessageContainer<ExtendedRequestDecorator> container )
throws DecoderException
+    public void action( LdapMessageContainer<ExtendedRequestDecorator<?,?>> container
) throws DecoderException
     {
         // We can allocate the ExtendedRequest Object
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         // Get the Value and store it in the ExtendedRequest
         TLV tlv = container.getCurrentTLV();

Modified: directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestValue.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestValue.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestValue.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/actions/extendedRequest/StoreExtendedRequestValue.java
Mon Feb 21 03:22:52 2011
@@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
  * </pre>
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class StoreExtendedRequestValue extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator>>
+public class StoreExtendedRequestValue extends GrammarAction<LdapMessageContainer<ExtendedRequestDecorator<?,?>>>
 {
     /** The logger */
     private static final Logger LOG = LoggerFactory.getLogger( StoreExtendedRequestValue.class
);
@@ -59,10 +59,10 @@ public class StoreExtendedRequestValue e
     /**
      * {@inheritDoc}
      */
-    public void action( LdapMessageContainer<ExtendedRequestDecorator> container )
throws DecoderException
+    public void action( LdapMessageContainer<ExtendedRequestDecorator<?,?>> container
) throws DecoderException
     {
         // We can allocate the ExtendedRequest Object
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         // Get the Value and store it in the ExtendedRequest
         TLV tlv = container.getCurrentTLV();

Modified: directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/api/MessageDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/api/MessageDecorator.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/api/MessageDecorator.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/main/java/org/apache/directory/shared/ldap/codec/api/MessageDecorator.java
Mon Feb 21 03:22:52 2011
@@ -145,7 +145,8 @@ public abstract class MessageDecorator<E
                 break;
                 
             case EXTENDED_REQUEST:
-                decorator = new ExtendedRequestDecorator( codec, ( ExtendedRequest<ExtendedResponse>
) decoratedMessage );
+                decorator = new ExtendedRequestDecorator<ExtendedRequest<ExtendedResponse>,ExtendedResponse>(

+                    codec, ( ExtendedRequest<ExtendedResponse> ) decoratedMessage );
                 break;
                 
             case EXTENDED_RESPONSE:

Modified: directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
(original)
+++ directory/shared/branches/akarasulu/ldap-codec/src/test/java/org/apache/directory/shared/ldap/codec/extended/ExtendedRequestTest.java
Mon Feb 21 03:22:52 2011
@@ -75,8 +75,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -90,7 +90,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -146,8 +146,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -161,7 +161,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -228,8 +228,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -243,7 +243,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -300,8 +300,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -336,8 +336,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -373,8 +373,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode a ExtendedRequest PDU
         try
@@ -411,8 +411,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -426,7 +426,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );
@@ -477,8 +477,8 @@ public class ExtendedRequestTest extends
         stream.flip();
 
         // Allocate a LdapMessage Container
-        LdapMessageContainer<ExtendedRequestDecorator> container = 
-            new LdapMessageContainer<ExtendedRequestDecorator>(  codec );
+        LdapMessageContainer<ExtendedRequestDecorator<?,?>> container = 
+            new LdapMessageContainer<ExtendedRequestDecorator<?,?>>(  codec );
 
         // Decode the ExtendedRequest PDU
         try
@@ -492,7 +492,7 @@ public class ExtendedRequestTest extends
         }
 
         // Check the decoded ExtendedRequest PDU
-        ExtendedRequestDecorator extendedRequest = container.getMessage();
+        ExtendedRequestDecorator<?,?> extendedRequest = container.getMessage();
 
         assertEquals( 1, extendedRequest.getMessageId() );
         assertEquals( "1.3.6.1.5.5.2", extendedRequest.getRequestName() );

Modified: directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/ExtrasBundleActivator.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/ExtrasBundleActivator.java?rev=1072835&r1=1072834&r2=1072835&view=diff
==============================================================================
--- directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/ExtrasBundleActivator.java
(original)
+++ directory/shared/branches/akarasulu/ldap-extras/codec/src/main/java/org/apache/directory/shared/ldap/extras/ExtrasBundleActivator.java
Mon Feb 21 03:22:52 2011
@@ -113,7 +113,7 @@ public class ExtrasBundleActivator imple
         // --------------------------------------------------------------------
         
         
-        ExtendedRequestFactory<?,?> extReqfactory = new CancelFactory();
+        ExtendedRequestFactory<?,?> extReqfactory = new CancelFactory( codec );
         codec.registerExtendedRequest( extReqfactory );
         
         extReqfactory = new CertGenerationFactory();



Mime
View raw message