directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r109372 - /incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java
Date Wed, 01 Dec 2004 19:23:57 GMT
Author: akarasulu
Date: Wed Dec  1 11:23:56 2004
New Revision: 109372

URL: http://svn.apache.org/viewcvs?view=rev&rev=109372
Log:
thanks to Trustin this change fixes the deadlock issues
Modified:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java

Modified: incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java
Url: http://svn.apache.org/viewcvs/incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java?view=diff&rev=109372&p1=incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java&r1=109371&p2=incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java&r2=109372
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java
(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/SnickersProvider.java
Wed Dec  1 11:23:56 2004
@@ -28,8 +28,6 @@
  */
 public class SnickersProvider extends Provider
 {
-    private final SnickersDecoder decoder;
-    private final SnickersEncoder encoder;
     private final SnickersTransformer transformer;
 
 
@@ -39,8 +37,6 @@
     private SnickersProvider()
     {
         super( "Snickers LDAP BER Provider", "Apache Directory Project" );
-        decoder = new SnickersDecoder( this );
-        encoder = new SnickersEncoder( this );
         transformer = new SnickersTransformer( this );
     }
 
@@ -76,7 +72,7 @@
      */
     public ProviderEncoder getEncoder() throws ProviderException
     {
-        return encoder;
+        return new SnickersEncoder( this );
     }
 
 
@@ -89,7 +85,7 @@
      */
     public ProviderDecoder getDecoder() throws ProviderException
     {
-        return decoder;
+        return new SnickersDecoder( this );
     }
 
 

Mime
View raw message