Add missing annotations.

This commit is contained in:
Gary Gregory 2020-02-22 08:57:35 -05:00
parent 0697258b6a
commit 8e5b10a0b0
2 changed files with 2 additions and 0 deletions

View File

@ -714,6 +714,7 @@ public void testgetStackFramesNullArg() {
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" +

View File

@ -29,6 +29,7 @@ public void consume(final String t) {
public void parentProtectedAnnotatedMethod(final String t) {
}
@Override
public void parentNotAnnotatedMethod(final String t) {
}