Skip to content

Commit

Permalink
Remove null-check finalEx (apache#17624)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonHxy authored and tisonkun committed Sep 14, 2022
1 parent 7644ee9 commit eee44f3
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 eee44f3

Please sign in to comment.