Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed May 7, 2024
1 parent cb4839a commit 5b0f94b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
.as("awaitClose timeout")
.isTrue();

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

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

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

Expand Down

0 comments on commit 5b0f94b

Please sign in to comment.