Skip to content

Commit b5a4373

Browse files
authored
[cleanup] erefactor/EclipseJdt - Evaluate without null check (#1751)
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
1 parent d15560e commit b5a4373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/zaxxer/hikari/pool/UnwrapTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void testUnwrapConnection() throws SQLException
5656
assertNotNull(connection);
5757

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

0 commit comments

Comments
 (0)