From 20b30000c1266606a8cdae50a79982f415f11286 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 22 Dec 2010 12:06:31 +0000
Subject: [PATCH] Ensure that correct Grizzly MemoryManager is used for SASL and ASN1 filters.

---
 opendj-sdk/sdk/src/com/sun/opends/sdk/ldap/SASLDecoderTransformer.java |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/opendj-sdk/sdk/src/com/sun/opends/sdk/ldap/SASLDecoderTransformer.java b/opendj-sdk/sdk/src/com/sun/opends/sdk/ldap/SASLDecoderTransformer.java
index 5e817ba..fa518da 100644
--- a/opendj-sdk/sdk/src/com/sun/opends/sdk/ldap/SASLDecoderTransformer.java
+++ b/opendj-sdk/sdk/src/com/sun/opends/sdk/ldap/SASLDecoderTransformer.java
@@ -49,20 +49,12 @@
   private final byte[] buffer = new byte[BUFFER_SIZE];
   private final ConnectionSecurityLayer bindContext;
 
-  private final MemoryManager<Buffer> memoryManager;
-
-
-
-  @SuppressWarnings("unchecked")
-  public SASLDecoderTransformer(final ConnectionSecurityLayer bindContext)
-  {
-    this(bindContext, TransportFactory.getInstance().getDefaultMemoryManager());
-  }
+  private final MemoryManager<?> memoryManager;
 
 
 
   public SASLDecoderTransformer(final ConnectionSecurityLayer bindContext,
-      final MemoryManager<Buffer> memoryManager)
+      final MemoryManager<?> memoryManager)
   {
     this.bindContext = bindContext;
     this.memoryManager = memoryManager;

--
Gitblit v1.10.0