diff --git a/src/java.base/share/classes/java/util/regex/Matcher.java b/src/java.base/share/classes/java/util/regex/Matcher.java index 9fd9dbdd16e..54fe63c4f4b 100644 --- a/src/java.base/share/classes/java/util/regex/Matcher.java +++ b/src/java.base/share/classes/java/util/regex/Matcher.java @@ -1828,7 +1828,7 @@ public final class Matcher implements MatchResult { * * @return {@inheritDoc} * - * @since {@inheritDoc} + * @since 20 */ @Override public Map namedGroups() { @@ -1843,7 +1843,7 @@ public final class Matcher implements MatchResult { * * @return {@inheritDoc} * - * @since {@inheritDoc} + * @since 20 */ @Override public boolean hasMatch() {