diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java index e3c300c3e..2d6a97bf8 100644 --- a/src/main/java/org/apache/commons/lang3/SystemUtils.java +++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java @@ -669,7 +669,7 @@ public class SystemUtils { * sync with that System property. *

* - * @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 diff --git a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java index a706ab042..1e9b96ee1 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java @@ -983,8 +983,8 @@ public class MethodUtils { } /** - *

Gets a combination of {@link ClassUtils#getAllSuperclasses}(Class)} and - * {@link ClassUtils#getAllInterfaces}(Class)}, one from superclasses, one + *

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.

* * @param cls the class to look up, may be {@code null} diff --git a/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java b/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java index 933364afe..29dda0da9 100644 --- a/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java @@ -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. */ diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java index c1c1d403b..65b0ec4bc 100644 --- a/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java @@ -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