directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r178102 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java
Date Tue, 24 May 2005 06:37:18 GMT
Author: elecharny
Date: Mon May 23 23:37:18 2005
New Revision: 178102

URL: http://svn.apache.org/viewcvs?rev=178102&view=rev
Log:
- Suppressed the pooling mechanism
- fixed a bug in toString method (NPE if called under certain conditions)

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java?rev=178102&r1=178101&r2=178102&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OID.java Mon
May 23 23:37:18 2005
@@ -17,7 +17,6 @@
 package org.apache.asn1.primitives;
 
 import org.apache.asn1.DecoderException;
-import org.apache.asn1.util.pools.PoolObject;
 
 
 /**
@@ -49,7 +48,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class OID extends PoolObject
+public class OID
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -72,23 +71,6 @@
     }
 
     //~ Methods ------------------------------------------------------------------------------------
-
-    /**
-     * Frees the object
-     */
-    public void free()
-    {
-
-        if ( oidValues != null )
-        {
-
-            for ( int i = 0; i < oidValues.length; i++ )
-            {
-                oidValues[i] = 0;
-            }
-        }
-    }
-
     /**
      * Set the OID. It will be translated from a byte array to an internal representation.
      * @param oid The bytes containing the OID



Mime
View raw message