Skip to content

Commit

Permalink
[cleanup] Remove unthrown exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Jan 21, 2024
1 parent 52972ec commit fa30052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit fa30052

Please sign in to comment.