[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: merged in StringBuilder

Kaffe CVS cvs-commits at kaffe.org
Sat Jan 22 10:48:14 PST 2005


PatchSet 5888 
Date: 2005/01/22 18:34:52
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: merged in StringBuilder

2005-01-22  Dalibor Topic  <robilad at kaffe.org>

Resynced with GNU Classpath.

2005-01-19  Andrew John Hughes  <gnu_andrew at member.fsf.org>

Merge of java.lang.Appendable to HEAD from
the generics branch.

2004-08-06  Tom Tromey  <tromey at redhat.com>

* java/lang/Appendable.java: New file.

2004-09-26  Andrew John Hughes  <gnu_andrew at member.fsf.org>

* java/lang/Appendable.java
Documented this class.
(append(CharSequence, int, int)): added.

2004-10-31  Robert Schuster <thebohemian at gmx.net>

* java/lang/Appendable.java (append):
Throws IOException.

Members: 
	libraries/javalib/java/lang/String.java:1.45->1.46 
	ChangeLog:1.3428->1.3429 
	libraries/javalib/all.files:1.77->1.78 

Index: kaffe/libraries/javalib/java/lang/String.java
diff -u kaffe/libraries/javalib/java/lang/String.java:1.45 kaffe/libraries/javalib/java/lang/String.java:1.46
--- kaffe/libraries/javalib/java/lang/String.java:1.45	Sun Jan  9 17:26:31 2005
+++ kaffe/libraries/javalib/java/lang/String.java	Sat Jan 22 18:34:52 2005
@@ -712,6 +712,18 @@
 */
 
   /**
+   * Creates a new String using the character sequence represented by
+   * the StringBuilder. Subsequent changes to buf do not affect the String.
+   *
+   * @param buffer StringBuilder to copy
+   * @throws NullPointerException if buffer is null
+   */
+  public String(StringBuilder buffer)
+  {
+    this(buffer.value, 0, buffer.count);
+  }
+
+  /**
    * Special constructor which can share an array when safe to do so.
    *
    * @param data the characters to copy
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3428 kaffe/ChangeLog:1.3429
--- kaffe/ChangeLog:1.3428	Sat Jan 22 18:28:53 2005
+++ kaffe/ChangeLog	Sat Jan 22 18:34:43 2005
@@ -1,6 +1,30 @@
 2005-01-22  Dalibor Topic  <robilad at kaffe.org>
 
 	Resynced with GNU Classpath.
+
+	2005-01-19  Andrew John Hughes  <gnu_andrew at member.fsf.org>
+
+	Merge of java.lang.Appendable to HEAD from
+	the generics branch.
+	
+	2004-08-06  Tom Tromey  <tromey at redhat.com>
+
+	* java/lang/Appendable.java: New file.
+
+	2004-09-26  Andrew John Hughes  <gnu_andrew at member.fsf.org>
+
+	* java/lang/Appendable.java
+	Documented this class.
+	(append(CharSequence, int, int)): added.
+
+	2004-10-31  Robert Schuster <thebohemian at gmx.net>
+
+	* java/lang/Appendable.java (append):
+	Throws IOException.
+	
+2005-01-22  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
 	
 	2005-01-19  Michael Koch  <konqueror at gmx.de>
 
Index: kaffe/libraries/javalib/all.files
diff -u kaffe/libraries/javalib/all.files:1.77 kaffe/libraries/javalib/all.files:1.78
--- kaffe/libraries/javalib/all.files:1.77	Sat Jan 22 18:04:59 2005
+++ kaffe/libraries/javalib/all.files	Sat Jan 22 18:34:49 2005
@@ -1918,6 +1918,7 @@
 java/lang/StackTraceElement.java
 java/lang/StrictMath.java
 java/lang/StringBuffer.java
+java/lang/StringBuilder.java
 java/lang/StringIndexOutOfBoundsException.java
 java/lang/String.java
 java/lang/System.java



More information about the kaffe mailing list