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.
* </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
*/
@Deprecated

View File

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

View File

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

View File

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