Skip to content

Commit

Permalink
[cleanup] erefactor/EclipseJdt - Evaluate without null check (#1751)
Browse files Browse the repository at this point in the history
EclipseJdt cleanup 'EvaluateNullable' applied by erefactor.

For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
  • Loading branch information
cal101 committed Sep 15, 2023
1 parent d15560e commit b5a4373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/zaxxer/hikari/pool/UnwrapTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void testUnwrapConnection() throws SQLException
assertNotNull(connection);

StubConnection unwrapped = connection.unwrap(StubConnection.class);
assertTrue("unwrapped connection is not instance of StubConnection: " + unwrapped, (unwrapped != null && unwrapped instanceof StubConnection));
assertTrue("unwrapped connection is not instance of StubConnection: " + unwrapped, (unwrapped instanceof StubConnection));
}
}

Expand Down

0 comments on commit b5a4373

Please sign in to comment.