Skip to content

Commit 04001fb

Browse files
committed
Squash a warning
1 parent cd88ecc commit 04001fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/rabbitmq/stream/impl/StreamEnvironmentUnitTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ void shouldTryUrisOnInitializationFailure() throws Exception {
151151

152152
@ParameterizedTest
153153
@CsvSource({"false,1", "true,0"})
154+
@SuppressWarnings("unchecked")
154155
void shouldNotOpenConnectionWhenLazyInitIsEnabled(
155-
boolean lazyInit, int expectedConnectionCreation) throws Exception {
156+
boolean lazyInit, int expectedConnectionCreation) {
156157
reset(cf);
157158
when(cf.apply(any(Client.ClientParameters.class))).thenReturn(client);
158159
environment =

0 commit comments

Comments
 (0)