Skip to content

Commit

Permalink
Removed unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobaccan committed Nov 17, 2023
1 parent 1d08bbd commit c4c42cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ExceptionTests {
@Test
public void testRollbackBatchExceptionConstruction() {
// just ensure all constructors are available on the class and the hierarchy is correct
RollbackException ex = new RollbackBatchException();
new RollbackBatchException();
new RollbackBatchException("message");
new RollbackBatchException(new Exception());
new RollbackBatchException("message", new Exception());
Expand All @@ -27,7 +27,7 @@ public void testRollbackBatchExceptionConstruction() {
@Test
public void testRollbackOperationExceptionConstruction() {
// just ensure all constructors are available on the class and the hierarchy is correct
RollbackException ex = new RollbackOperationException();
new RollbackOperationException();
new RollbackOperationException("message");
new RollbackOperationException(new Exception());
new RollbackOperationException("message", new Exception());
Expand Down

0 comments on commit c4c42cb

Please sign in to comment.