Skip to content

Commit

Permalink
aggregateJavaDocs, checkstyleMain and SpotlessJavaCheck passed succes…
Browse files Browse the repository at this point in the history
…sfully
  • Loading branch information
ibrahimesseddyq committed Jun 24, 2023
1 parent 053849e commit 6bea51c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import org.apiguardian.api.API;
import org.junit.jupiter.api.AutoCloseUtils;

/**
* The {@code AutoCloseExtension} class is a JUnit 5 extension that automatically closes resources used in tests.
*
Expand Down Expand Up @@ -54,7 +55,8 @@ public void afterEach(ExtensionContext context) throws Exception {
Object testInstance = context.getRequiredTestInstance();
try {
AutoCloseUtils.closeResources(testInstance);
} catch (Exception e) {
}
catch (Exception e) {
e.printStackTrace();
throw e;
}
Expand Down

0 comments on commit 6bea51c

Please sign in to comment.