directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r125510 - /incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java
Date Tue, 18 Jan 2005 14:43:52 GMT
Author: erodriguez
Date: Tue Jan 18 06:43:49 2005
New Revision: 125510

URL: http://svn.apache.org/viewcvs?view=rev&rev=125510
Log:
Refactoring based on new DER library support.
Modified:
   incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java

Modified: incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java
Url: http://svn.apache.org/viewcvs/incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java?view=diff&rev=125510&p1=incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java&r1=125509&p2=incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java&r2=125510
==============================================================================
--- incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java
(original)
+++ incubator/directory/changepw/trunk/core/src/java/org/apache/changepw/io/ChangePasswordDataDecoder.java
Tue Jan 18 06:43:49 2005
@@ -22,8 +22,8 @@
 import java.util.Enumeration;
 
 import org.apache.asn1.der.ASN1InputStream;
+import org.apache.asn1.der.DEREncodable;
 import org.apache.asn1.der.DERGeneralString;
-import org.apache.asn1.der.DERObject;
 import org.apache.asn1.der.DEROctetString;
 import org.apache.asn1.der.DERSequence;
 import org.apache.asn1.der.DERTaggedObject;
@@ -53,7 +53,7 @@
 		{
 			DERTaggedObject object = ( (DERTaggedObject) e.nextElement() );
 			int tag = object.getTagNo();
-			DERObject derObject = object.getObject();
+			DEREncodable derObject = object.getObject();
 			switch ( tag )
 			{
 				case 0:

Mime
View raw message