Skip to content

Commit

Permalink
GH-1441: Remove unused code
Browse files Browse the repository at this point in the history
See #1441
  • Loading branch information
garyrussell committed Apr 10, 2020
1 parent ced67f1 commit 2bbcc8f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,7 @@ public void close(@Nullable Duration timeout) {
if (!this.cache.contains(this)
&& !this.cache.offer(this)) {
this.closed = true;
this.delegate.close(this.producerFailed instanceof TimeoutException
? CLOSE_TIMEOUT_AFTER_TX_TIMEOUT
: timeout);
this.delegate.close(timeout);
}
}
}
Expand Down

0 comments on commit 2bbcc8f

Please sign in to comment.