Please revert "{@link java.lang.String}". The java.lang package is automatically in scope, just like in Java sources.
I don't use Java 8 to build because it's EOL and doesn't generate the search box. FWIW, all release sites I've built recently were done with Java 17. Gary On Mon, Nov 18, 2024, 7:53 AM <ebo...@apache.org> wrote: > This is an automated email from the ASF dual-hosted git repository. > > ebourg pushed a commit to branch master > in repository https://gitbox.apache.org/repos/asf/commons-validator.git > > commit cdc0125b8d7c9af0dcc557de853c2ff2a0a436ee > Author: Emmanuel Bourg <ebo...@apache.org> > AuthorDate: Mon Nov 18 13:32:14 2024 +0100 > > Fixed Javadoc errors > --- > src/main/java/org/apache/commons/validator/ValidatorAction.java | 2 > +- > src/main/java/org/apache/commons/validator/routines/package-info.java | 4 > ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git > a/src/main/java/org/apache/commons/validator/ValidatorAction.java > b/src/main/java/org/apache/commons/validator/ValidatorAction.java > index 315499fd..d08edb8b 100644 > --- a/src/main/java/org/apache/commons/validator/ValidatorAction.java > +++ b/src/main/java/org/apache/commons/validator/ValidatorAction.java > @@ -555,7 +555,7 @@ public class ValidatorAction implements Serializable { > * The search order is described in the documentation for {@link > ClassLoader#getResource(String)}. > * </p> > * > - * @param name The resource name > + * @param javaScriptFileName The resource name > * @return An input stream for reading the resource, or {@code null} > if the resource could not be found > */ > private InputStream openInputStream(final String javaScriptFileName, > final ClassLoader classLoader) { > diff --git > a/src/main/java/org/apache/commons/validator/routines/package-info.java > b/src/main/java/org/apache/commons/validator/routines/package-info.java > index c5d4ff11..a0d8239c 100644 > --- a/src/main/java/org/apache/commons/validator/routines/package-info.java > +++ b/src/main/java/org/apache/commons/validator/routines/package-info.java > @@ -411,10 +411,10 @@ > * <ul> > * <li>{@code isValid()} methods return true/false to indicate > * whether validation was successful.</li> > - * <li>{@code validate()} methods return a {@link String} > + * <li>{@code validate()} methods return a {@link java.lang.String} > * value of the matched <em>groups</em> aggregated together or > * {@code null} if invalid.</li> > - * <li>{@code match()} methods return a {@link String} array > + * <li>{@code match()} methods return a {@link java.lang.String} array > * of the matched <em>groups</em> or {@code null} if invalid.</li> > * </ul> > * </li> > >