directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r491276 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java
Date Sat, 30 Dec 2006 18:30:08 GMT
Author: elecharny
Date: Sat Dec 30 10:30:07 2006
New Revision: 491276

URL: http://svn.apache.org/viewvc?view=rev&rev=491276
Log:
Replaced a call to toString() on a byte[] by a call to StringTools.utf8ToString()

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java?view=diff&rev=491276&r1=491275&r2=491276
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/extended/operations/StoredProcedure.java
Sat Dec 30 10:30:07 2006
@@ -313,7 +313,8 @@
     		{
     			StoredProcedureParameter spParam = (StoredProcedureParameter)params.next();
     			
-    			sb.append( "            type[" ).append( i ) .append( "] : '" ).append( spParam.type
).append( "'\n" );
+    			sb.append( "            type[" ).append( i ) .append( "] : '" ).
+                    append( StringTools.utf8ToString( spParam.type ) ).append( "'\n" );
     			sb.append( "            value[" ).append( i ) .append( "] : '" ).
     				append( StringTools.dumpBytes( spParam.value ) ).append( "'\n" );
     		}



Mime
View raw message