Skip to content

Commit

Permalink
Add missing @nullable to new method
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Nov 23, 2018
1 parent 233ff0c commit 3ca85b9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ else if (!cachedConnection.isOpen()) {
return cachedConnection;
}

@Nullable
private ChannelCachingConnectionProxy waitForConnection(ChannelCachingConnectionProxy cachedConnection, long now) {
while (cachedConnection == null && System.currentTimeMillis() - now < this.channelCheckoutTimeout) {
if (countOpenConnections() >= this.connectionLimit) {
Expand Down

0 comments on commit 3ca85b9

Please sign in to comment.