Skip to content

Commit 342bc84

Browse files
committed
Applied workaround proposed by Joe: Using component @inheritdoc to enforce getChars section in JavaDocs
1 parent 99fcefb commit 342bc84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -1737,6 +1737,11 @@ public int offsetByCodePoints(int index, int codePointOffset) {
17371737

17381738
/**
17391739
* {@inheritDoc CharSequence}
1740+
* @param srcBegin {@inheritDoc CharSequence}
1741+
* @param srcEnd {@inheritDoc CharSequence}
1742+
* @param dst {@inheritDoc CharSequence}
1743+
* @param dstBegin {@inheritDoc CharSequence}
1744+
* @throws IndexOutOfBoundsException {@inheritDoc CharSequence}
17401745
*/
17411746
@Override
17421747
public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) {

0 commit comments

Comments
 (0)