From fa300526e36056306898afe8aeec620521372894 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 21 Jan 2024 04:59:06 -0500 Subject: [PATCH] [cleanup] Remove unthrown exceptions --- .../java/waffle/servlet/NegotiateSecurityFilterLoadTest.java | 5 +---- .../java/waffle/servlet/NegotiateSecurityFilterLoadTest.java | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/JNA/waffle-tests-jakarta/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java b/Source/JNA/waffle-tests-jakarta/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java index 60bdc61e7b..cc2bc4cacd 100644 --- a/Source/JNA/waffle-tests-jakarta/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java +++ b/Source/JNA/waffle-tests-jakarta/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java @@ -91,12 +91,9 @@ public void benchmark() throws IOException, ServletException { /** * Cleanup. - * - * @throws ServletException - * the servlet exception */ @TearDown(Level.Trial) - public void cleanup() throws ServletException { + public void cleanup() { this.tests.tearDown(); } diff --git a/Source/JNA/waffle-tests/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java b/Source/JNA/waffle-tests/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java index 14c44a008e..3a02fb9cee 100644 --- a/Source/JNA/waffle-tests/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java +++ b/Source/JNA/waffle-tests/src/test/java/waffle/servlet/NegotiateSecurityFilterLoadTest.java @@ -91,12 +91,9 @@ public void benchmark() throws IOException, ServletException { /** * Cleanup. - * - * @throws ServletException - * the servlet exception */ @TearDown(Level.Trial) - public void cleanup() throws ServletException { + public void cleanup() { this.tests.tearDown(); }