Skip to content

Commit

Permalink
Remove requireNonNull on @nullable field
Browse files Browse the repository at this point in the history
  • Loading branch information
injae-kim committed Jul 28, 2024
1 parent 6c76245 commit 24cffdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public SessionProtocolNegotiationException(SessionProtocol expected,
@Nullable SessionProtocol actual, @Nullable String reason) {

super(appendReason("expected: " + requireNonNull(expected, "expected") +
", actual: " + requireNonNull(actual, "actual"), reason));
", actual: " + actual, reason));
this.expected = expected;
this.actual = actual;
}
Expand Down

0 comments on commit 24cffdf

Please sign in to comment.