提交 56657ba2 编写于 作者: S smarks

8028757: CharSequence.subSequence improperly requires a "new" CharSequence be returned

Reviewed-by: alanb, darcy, mduigou
上级 fcfa0249
......@@ -87,7 +87,7 @@ public interface CharSequence {
char charAt(int index);
/**
* Returns a new <code>CharSequence</code> that is a subsequence of this sequence.
* Returns a <code>CharSequence</code> that is a subsequence of this sequence.
* The subsequence starts with the <code>char</code> value at the specified index and
* ends with the <code>char</code> value at index <tt>end - 1</tt>. The length
* (in <code>char</code>s) of the
......
......@@ -1958,7 +1958,7 @@ public final class String
}
/**
* Returns a new character sequence that is a subsequence of this sequence.
* Returns a character sequence that is a subsequence of this sequence.
*
* <p> An invocation of this method of the form
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册