fix javadoc (#545)

This commit is contained in:
XenoAmess 2020-06-13 23:04:11 +08:00 committed by GitHub
parent a21cdb5121
commit 8e61b090ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -669,7 +669,7 @@ public class SystemUtils {
* sync with that System property. * sync with that System property.
* </p> * </p>
* *
* @deprecated Use {@link System#lineSeparator} instead, since it does not require a privilege check. * @deprecated Use {@link System#lineSeparator()} instead, since it does not require a privilege check.
* @since Java 1.1 * @since Java 1.1
*/ */
@Deprecated @Deprecated

View File

@ -983,8 +983,8 @@ public static <A extends Annotation> A getAnnotation(final Method method, final
} }
/** /**
* <p>Gets a combination of {@link ClassUtils#getAllSuperclasses}(Class)} and * <p>Gets a combination of {@link ClassUtils#getAllSuperclasses(Class)} and
* {@link ClassUtils#getAllInterfaces}(Class)}, one from superclasses, one * {@link ClassUtils#getAllInterfaces(Class)}, one from superclasses, one
* from interfaces, and so on in a breadth first way.</p> * from interfaces, and so on in a breadth first way.</p>
* *
* @param cls the class to look up, may be {@code null} * @param cls the class to look up, may be {@code null}

View File

@ -88,7 +88,7 @@ public void testEscapeJavaWithSlash() {
final String expected = input; final String expected = input;
final String actual = StringEscapeUtils.escapeJava(input); final String actual = StringEscapeUtils.escapeJava(input);
/** /*
* In 2.4 StringEscapeUtils.escapeJava(String) escapes '/' characters, which are not a valid character to escape * In 2.4 StringEscapeUtils.escapeJava(String) escapes '/' characters, which are not a valid character to escape
* in a Java string. * in a Java string.
*/ */

View File

@ -592,7 +592,6 @@ public void testTruncateSecond() throws Exception {
/** /**
* Test DateUtils.truncate()-method with Calendar.SECOND * Test DateUtils.truncate()-method with Calendar.SECOND
* *
* @throws Exception so we don't have to catch it
* @since 3.0 * @since 3.0
*/ */
@Test @Test