harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405462 - /incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java
Date Tue, 09 May 2006 16:34:10 GMT
Author: tellison
Date: Tue May  9 09:34:07 2006
New Revision: 405462

URL: http://svn.apache.org/viewcvs?rev=405462&view=rev
Log:
Fix return type for appendable methods to comply with spec.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java?rev=405462&r1=405461&r2=405462&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/CharBuffer.java
Tue May  9 09:34:07 2006
@@ -736,14 +736,14 @@
     /**
      * @see Appendable#append(char)
      */
-    public Appendable append(char c){
+    public CharBuffer append(char c){
         return put(c);
     }
 
     /**
      * @see Appendable#append(CharSequence)
      */
-    public Appendable append(CharSequence csq){
+    public CharBuffer append(CharSequence csq){
         if (csq != null) {
             return put(csq.toString());
         }
@@ -753,7 +753,7 @@
     /**
      * @see Appendable#append(CharSequence, int, int)
      */
-    public Appendable append(CharSequence csq, int start, int end){
+    public CharBuffer append(CharSequence csq, int start, int end){
         if (csq == null) {
             csq = "null"; //$NON-NLS-1$
         }



Mime
View raw message