directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r514222 - /directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
Date Sat, 03 Mar 2007 19:14:28 GMT
Author: elecharny
Date: Sat Mar  3 11:14:27 2007
New Revision: 514222

URL: http://svn.apache.org/viewvc?view=rev&rev=514222
Log:
Replaced StringBuilder by StringBuffer, to be java 1.4 compatible

Modified:
    directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java

Modified: directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java?view=diff&rev=514222&r1=514221&r2=514222
==============================================================================
--- directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
(original)
+++ directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
Sat Mar  3 11:14:27 2007
@@ -467,7 +467,7 @@
     {
         if ( value instanceof String )
         {
-            StringBuilder sb = new StringBuilder();
+            StringBuffer sb = new StringBuffer();
             sb.append( StringTools.lowerCase( StringTools.trim( type ) ) ).append( '=' );
             String normalizedValue =  ( String ) value;
             int valueLength = normalizedValue.length();



Mime
View raw message