Skip to content

Commit 5b0f94b

Browse files
committed
Polish
1 parent cb4839a commit 5b0f94b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reactor-netty-http/src/test/java/reactor/netty/http/HttpMetricsHandlerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
10841084
.as("awaitClose timeout")
10851085
.isTrue();
10861086

1087-
assertThat(ContextAwareServerRecorderBadUri.INSTANCE.nullMethodParams.size() == 0)
1087+
assertThat(ContextAwareServerRecorderBadUri.INSTANCE.nullMethodParams.isEmpty())
10881088
.as("some method got null parameters: %s", ContextAwareServerRecorderBadUri.INSTANCE.nullMethodParams)
10891089
.isTrue();
10901090

@@ -1098,7 +1098,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
10981098
.as("awaitClose timeout")
10991099
.isTrue();
11001100

1101-
assertThat(ServerRecorderBadUri.INSTANCE.nullMethodParams.size() == 0)
1101+
assertThat(ServerRecorderBadUri.INSTANCE.nullMethodParams.isEmpty())
11021102
.as("some method got null parameters: %s", ServerRecorderBadUri.INSTANCE.nullMethodParams)
11031103
.isTrue();
11041104

0 commit comments

Comments
 (0)