harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r396494 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang: StringBuffer.java StringBuilder.java
Date Mon, 24 Apr 2006 09:44:32 GMT
Author: smishura
Date: Mon Apr 24 02:44:31 2006
New Revision: 396494

URL: http://svn.apache.org/viewcvs?rev=396494&view=rev
Log:
Apply patch HARMONY-383 (java.lang.StringBuilder should implement Appendable)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuffer.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuilder.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuffer.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuffer.java?rev=396494&r1=396493&r2=396494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuffer.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuffer.java
Mon Apr 24 02:44:31 2006
@@ -15,7 +15,6 @@
 
 package java.lang;
 
-
 import java.io.IOException;
 import java.io.InvalidObjectException;
 import java.io.ObjectInputStream;
@@ -41,8 +40,7 @@
  * @see StringBuilder
  * @since 1.0
  */
-public final class StringBuffer implements Serializable, CharSequence {
-    //TODO: Add 'Appendable' to implements when return type covariance is supported.
+public final class StringBuffer implements Appendable, Serializable, CharSequence {
 	
 	private static final long serialVersionUID = 3388685877147921107L;
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuilder.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuilder.java?rev=396494&r1=396493&r2=396494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuilder.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StringBuilder.java
Mon Apr 24 02:44:31 2006
@@ -44,9 +44,7 @@
  * 
  * @author Nathan Beyer (Harmony)
  */
-public final class StringBuilder implements CharSequence, Serializable {
-
-    // TODO add 'implements Appendable' (see HARMONY-103)
+public final class StringBuilder implements Appendable, CharSequence, Serializable {
 
     private static final long serialVersionUID = 4383685877147921099L;
 



Mime
View raw message