Skip to content

Commit 3ca85b9

Browse files
committed
Add missing @nullable to new method
1 parent 233ff0c commit 3ca85b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ else if (!cachedConnection.isOpen()) {
733733
return cachedConnection;
734734
}
735735

736+
@Nullable
736737
private ChannelCachingConnectionProxy waitForConnection(ChannelCachingConnectionProxy cachedConnection, long now) {
737738
while (cachedConnection == null && System.currentTimeMillis() - now < this.channelCheckoutTimeout) {
738739
if (countOpenConnections() >= this.connectionLimit) {

0 commit comments

Comments
 (0)