directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r178099 - in /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo: BindRequestPOJO.java BindResponsePOJO.java LdapMessagePOJO.java LdapResultPOJO.java SaslAuthenticationPOJO.java SimpleAuthenticationPOJO.java
Date Tue, 24 May 2005 06:35:21 GMT
Author: elecharny
Date: Mon May 23 23:35:21 2005
New Revision: 178099

URL: http://svn.apache.org/viewcvs?rev=178099&view=rev
Log:
Suppressed the pooling mechanism

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindRequestPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponsePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessagePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindRequestPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindRequestPOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindRequestPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindRequestPOJO.java
Mon May 23 23:35:21 2005
@@ -135,28 +135,4 @@
     {
         this.version = version;
     }
-
-    /**
-     * Free the BindRequestPOJO. we have to free the Authentication and
-     * to reset members to their initial values.
-     */
-    public void free()
-    {
-        if (name != null) 
-        {
-            name.free();
-        }
-        
-        version = 0;
-        
-        // free the authentication POJO
-        if (authentication != null)
-        {
-        	authentication.free();
-            authentication = null;
-        }
-        
-        // put back the object in the pool 
-        super.free();
-    }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponsePOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponsePOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponsePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/BindResponsePOJO.java
Mon May 23 23:35:21 2005
@@ -78,13 +78,4 @@
     {
         this.serverSaslCreds = serverSaslCreds;
     }
-    
-    /**
-     * Free the POJO
-     */
-    public void free()
-    {
-        ldapResult.free();
-        serverSaslCreds = null;;
-    }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessagePOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessagePOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessagePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessagePOJO.java
Mon May 23 23:35:21 2005
@@ -136,31 +136,4 @@
         this.protocolOp = protocolOp;
     }
 
-    /**
-     * Free the SpnegoPOJO. we have to free the Authentication,
-     * the ProtocolOp, the Controls and to reset members to their 
-     * initial values.
-     */
-    public void free()
-    {
-        messageId = 0;
-        
-        // free the protocolOp POJO
-        protocolOp.free();
-        protocolOp = null;
-        
-        // free the controls POJO
-        
-        if (controls != null) 
-        {
-	        for (int i = 0; i < controls.length ; i++ )
-	        {
-	        	controls[i].free();
-	        	controls[i] = null;
-	        }
-        }
-        
-        // put back the object in the pool 
-        super.free();
-    }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
Mon May 23 23:35:21 2005
@@ -186,39 +186,4 @@
     {
         this.resultCode = resultCode;
     }
-
-    /**
-     * Free the LdapResult POJO.
-     */
-    public void free()
-    {
-        resultCode = 0;
-
-        if ( matchedDN != null )
-        {
-            matchedDN.free();
-        }
-
-        if ( errorMessage != null )
-        {
-            errorMessage.free();
-        }
-
-        if ( referrals != null )
-        {
-
-            for ( int i = 0; i < referrals.length; i++ )
-            {
-
-                if ( referrals[i] != null )
-                {
-                    referrals[i].free();
-                }
-            }
-
-            referrals = null;
-        }
-        
-        nbReferral = 0;
-    }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
Mon May 23 23:35:21 2005
@@ -83,19 +83,4 @@
     {
         this.mechanism = mechanism;
     }
-    
-    /**
-     * Free the POJO by calling the super method.
-     */
-    public void free() 
-    {
-    	if (mechanism != null)
-    	    {
-    	    mechanism.free();
-    	    }
-    	
-   	    credentials = null;
-    	
-    	super.free();
-    }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java?rev=178099&r1=178098&r2=178099&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
Mon May 23 23:35:21 2005
@@ -51,14 +51,4 @@
     {
         this.simple = simple;
     }
-
-    /**
-     * Free the POJO by calling the super method.
-     */
-    public void free() 
-    {
-    	simple = null;
-    	
-    	super.free();
-    }
 }



Mime
View raw message