8255690: &nbsp in StringBuilder.subSequence

Reviewed-by: lancea
This commit is contained in:
Brent Christian 2020-10-30 20:35:06 +00:00
parent 4158567f84
commit 98a69edec7

@ -1028,12 +1028,12 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence {
* <p> An invocation of this method of the form
*
* <pre>{@code
* sb.subSequence(begin,&nbsp;end)}</pre>
* sb.subSequence(begin, end)}</pre>
*
* behaves in exactly the same way as the invocation
*
* <pre>{@code
* sb.substring(begin,&nbsp;end)}</pre>
* sb.substring(begin, end)}</pre>
*
* This method is provided so that this class can
* implement the {@link CharSequence} interface.