directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r329681 - /directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java
Date Mon, 31 Oct 2005 00:47:25 GMT
Author: elecharny
Date: Sun Oct 30 16:47:21 2005
New Revision: 329681

URL: http://svn.apache.org/viewcvs?rev=329681&view=rev
Log:
Deleted the reference to the OctetString class

Modified:
    directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java

Modified: directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java?rev=329681&r1=329680&r2=329681&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/message/ModifyRequestImpl.java
Sun Oct 30 16:47:21 2005
@@ -30,7 +30,6 @@
 import javax.naming.directory.DirContext;
 import javax.naming.directory.ModificationItem ;
 
-import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.StringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -366,11 +365,6 @@
                         else if ( attributeValue instanceof String )
                         {
                         	sb.append( attributeValue );
-                        }
-                        else if ( attributeValue instanceof OctetString ) 
-                        {
-                        	sb.append( ( (OctetString)attributeValue).toString() ).
-                        		append( '/' ).append( StringUtils.dumpBytes( ( (OctetString)attributeValue
).getValue() ) );
                         }
                         else
                         {



Mime
View raw message