Skip to content

Commit 98a69ed

Browse files
author
Brent Christian
committed
8255690: &nbsp in StringBuilder.subSequence
Reviewed-by: lancea
1 parent 4158567 commit 98a69ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/classes/java/lang/AbstractStringBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,12 +1028,12 @@ public String substring(int start) {
10281028
* <p> An invocation of this method of the form
10291029
*
10301030
* <pre>{@code
1031-
* sb.subSequence(begin,&nbsp;end)}</pre>
1031+
* sb.subSequence(begin, end)}</pre>
10321032
*
10331033
* behaves in exactly the same way as the invocation
10341034
*
10351035
* <pre>{@code
1036-
* sb.substring(begin,&nbsp;end)}</pre>
1036+
* sb.substring(begin, end)}</pre>
10371037
*
10381038
* This method is provided so that this class can
10391039
* implement the {@link CharSequence} interface.

0 commit comments

Comments
 (0)