Skip to content

Commit

Permalink
Remove null-check finalEx (#17624)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonHxy authored Sep 14, 2022
1 parent c50a1e4 commit e4a1473
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ void sendComplete(final Exception e) {
SendCallback callback = this.callback;
if (null != callback) {
Exception finalEx = e;
if (finalEx != null && finalEx instanceof TimeoutException) {
if (finalEx instanceof TimeoutException) {
TimeoutException te = (TimeoutException) e;
long sequenceId = te.getSequenceId();
long ns = System.nanoTime();
Expand Down

0 comments on commit e4a1473

Please sign in to comment.