From 8e5b10a0b032988789a242d4f08add9989ee8539 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sat, 22 Feb 2020 08:57:35 -0500 Subject: [PATCH] Add missing annotations. --- .../org/apache/commons/lang3/exception/ExceptionUtilsTest.java | 1 + .../commons/lang3/reflect/testbed/StringParameterizedChild.java | 1 + 2 files changed, 2 insertions(+) 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) { }