cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r617856 [2/2] - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne: ./ access/ access/event/ access/trans/ access/types/ conf/ conn/ dba/ dba/db2/ dba/frontbase/ dba/hsqldb/ dba/ingres/ dba/mysql/ d...
Date Sat, 02 Feb 2008 18:28:48 GMT
Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/wocompat/PropertyListSerialization.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/wocompat/PropertyListSerialization.java?rev=617856&r1=617855&r2=617856&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/wocompat/PropertyListSerialization.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/wocompat/PropertyListSerialization.java
Sat Feb  2 10:28:43 2008
@@ -222,7 +222,7 @@
     protected static String escapeString(String str) {
         char[] chars = str.toCharArray();
         int len = chars.length;
-        StringBuffer buf = new StringBuffer(len + 3);
+        StringBuilder buf = new StringBuilder(len + 3);
 
         for (int i = 0; i < len; i++) {
             if (chars[i] == '\"' || chars[i] == '\\') {

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/xml/XMLUtil.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/xml/XMLUtil.java?rev=617856&r1=617855&r2=617856&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/xml/XMLUtil.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/xml/XMLUtil.java
Sat Feb  2 10:28:43 2008
@@ -92,7 +92,7 @@
             return null;
         }
 
-        StringBuffer text = new StringBuffer();
+        StringBuilder text = new StringBuilder();
         for (int i = 0; i < len; i++) {
             Node child = nodes.item(i);
 



Mime
View raw message