[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: small optimization

Kaffe CVS cvs-commits at kaffe.org
Wed Feb 23 14:48:37 PST 2005


PatchSet 5603 
Date: 2005/02/23 22:43:24
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: small optimization

2005-02-23  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-02-22  Andrew John Hughes  <gnu_andrew at member.fsf.org>

        * java/text/SimpleDateFormat.java:
        Substitute StringBuilder for the original
        StringBuffer.

Members: 
	ChangeLog:1.3648->1.3649 
	libraries/javalib/java/text/SimpleDateFormat.java:1.48->1.49 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3648 kaffe/ChangeLog:1.3649
--- kaffe/ChangeLog:1.3648	Wed Feb 23 22:37:45 2005
+++ kaffe/ChangeLog	Wed Feb 23 22:43:24 2005
@@ -2,6 +2,16 @@
 
 	Resynced with GNU Classpath.
 
+	2005-02-22  Andrew John Hughes  <gnu_andrew at member.fsf.org>
+
+        * java/text/SimpleDateFormat.java:
+        Substitute StringBuilder for the original
+        StringBuffer.
+
+2005-02-23  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
 	2005-02-22  Michael Koch  <konqueror at gmx.de>
 
         * gnu/java/security/PolicyFile.java,
Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java
diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.48 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.49
--- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.48	Mon Feb 21 23:05:17 2005
+++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java	Wed Feb 23 22:43:28 2005
@@ -137,9 +137,9 @@
      */
     public String toString()
     {
-      StringBuilder builder;
+      StringBuffer builder;
 
-      builder = new StringBuilder(getClass().getName());
+      builder = new StringBuffer(getClass().getName());
       builder.append("[field=");
       builder.append(field);
       builder.append(", size=");
@@ -341,7 +341,7 @@
    */
   public String toString() 
   {
-    StringBuilder output = new StringBuilder(getClass().getName());
+    StringBuffer output = new StringBuffer(getClass().getName());
     output.append("[tokens=");
     output.append(tokens);
     output.append(", formatData=");




More information about the kaffe mailing list