diff --git a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java index 32e276fd3..7a4b338c7 100644 --- a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java @@ -714,6 +714,7 @@ public class ExceptionUtilsTest { public void testgetStackFramesHappyPath() { final String[] actual = ExceptionUtils.getStackFrames(new Throwable() { // provide static stack trace to make test stable + @Override public void printStackTrace(final PrintWriter s) { s.write("org.apache.commons.lang3.exception.ExceptionUtilsTest$1\n" + "\tat org.apache.commons.lang3.exception.ExceptionUtilsTest.testgetStackFramesGappyPath(ExceptionUtilsTest.java:706)\n" + diff --git a/src/test/java/org/apache/commons/lang3/reflect/testbed/StringParameterizedChild.java b/src/test/java/org/apache/commons/lang3/reflect/testbed/StringParameterizedChild.java index 36b7156b8..18555e290 100644 --- a/src/test/java/org/apache/commons/lang3/reflect/testbed/StringParameterizedChild.java +++ b/src/test/java/org/apache/commons/lang3/reflect/testbed/StringParameterizedChild.java @@ -29,6 +29,7 @@ public class StringParameterizedChild extends GenericParent { public void parentProtectedAnnotatedMethod(final String t) { } + @Override public void parentNotAnnotatedMethod(final String t) { }