jdk/src/share/classes/java/nio/StringCharBuffer.java
changeset 1224 8c1bc7c5dd00
parent 715 f16baef3a20e
child 2593 76032557be03
--- a/jdk/src/share/classes/java/nio/StringCharBuffer.java	Tue Sep 09 15:20:07 2008 -0700
+++ b/jdk/src/share/classes/java/nio/StringCharBuffer.java	Tue Sep 09 15:20:07 2008 -0700
@@ -99,7 +99,7 @@
         return str.toString().substring(start + offset, end + offset);
     }
 
-    public final CharSequence subSequence(int start, int end) {
+    public final CharBuffer subSequence(int start, int end) {
         try {
             int pos = position();
             return new StringCharBuffer(str, -1,