directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r329682 - /directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/util/AttributeUtils.java
Date Mon, 31 Oct 2005 00:48:16 GMT
Author: elecharny
Date: Sun Oct 30 16:48:13 2005
New Revision: 329682

URL: http://svn.apache.org/viewcvs?rev=329682&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/util/AttributeUtils.java

Modified: directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/util/AttributeUtils.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/util/AttributeUtils.java?rev=329682&r1=329681&r2=329682&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/util/AttributeUtils.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/util/AttributeUtils.java
Sun Oct 30 16:48:13 2005
@@ -17,7 +17,6 @@
 package org.apache.ldap.common.util;
 
 
-import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.StringUtils;
 import org.apache.ldap.common.message.LockableAttributeImpl;
 
@@ -189,15 +188,6 @@
                         sb.append( tabs ).append( "        Val[" ).append( j ).append( "]
: " );
                         sb.append( string ).append( '/');
                         sb.append( StringUtils.dumpBytes( (byte[]) attr ) );
-                        sb.append( " \n" );
-                    }
-                    else if (attr instanceof OctetString )
-                    {
-                        String string = StringUtils.toUtf8( ((OctetString)attr).getValue()
);
-                        
-                        sb.append( tabs ).append( "        Val[" ).append( j ).append( "]
: " );
-                        sb.append( string ).append( '/');
-                        sb.append( StringUtils.dumpBytes( ((OctetString)attr).getValue()
) );
                         sb.append( " \n" );
                     }
                     else



Mime
View raw message