directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r165691 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java
Date Mon, 02 May 2005 21:14:03 GMT
Author: elecharny
Date: Mon May  2 14:14:02 2005
New Revision: 165691

URL: http://svn.apache.org/viewcvs?rev=165691&view=rev
Log:
Added the BitString pool declaration

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java?rev=165691&r1=165690&r2=165691&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/pools/PoolEnum.java
Mon May  2 14:14:02 2005
@@ -16,6 +16,7 @@
  */
 package org.apache.asn1.util.pools;
 
+import org.apache.asn1.primitives.BitString;
 import org.apache.asn1.primitives.OID;
 import org.apache.asn1.primitives.OctetString;
 import org.apache.asn1.util.MutableString;
@@ -63,6 +64,9 @@
     /** Pool of OCTET STRING */
     public static final int OCTET_STRING_POOL = 9;
 
+    /** Pool of BIT STRING */
+    public static final int BIT_STRING_POOL = 10;
+
     /**
      * Get the name of the object stored in this pool 
      *
@@ -83,6 +87,7 @@
         	case STREAMED_STRING_POOL : return "StreamedString";
         	case OID_POOL             : return "ObjectIdentifier";
         	case OCTET_STRING_POOL    : return "OctetString";
+        	case BIT_STRING_POOL      : return "BitString";
         	default                   : return "UNKNOWN POOL";
         }
     }
@@ -106,6 +111,7 @@
 	    	case STREAMED_STRING_POOL : return new MutableString();
 	    	case OID_POOL			  : return new OID();
 	    	case OCTET_STRING_POOL    : return new OctetString();
+	    	case BIT_STRING_POOL      : return new BitString();
     		
     		default : return null;
 		}



Mime
View raw message