Skip to content

Commit f7f20ee

Browse files
committed
GH-841: Fix missing @deprecated
1 parent 24783cb commit f7f20ee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,13 @@ public class PublisherCallbackChannelImpl
111111
private volatile java.util.function.Consumer<Channel> afterAckCallback;
112112

113113
/**
114-
* Create a {@link PublisherCallbackChannelImpl} instance based on the provided delegate.
114+
* Create a {@link PublisherCallbackChannelImpl} instance based on the provided
115+
* delegate.
115116
* @param delegate the {@link Channel} to delegate.
116-
* @deprecated since 2.2.1 in favor of {@link #PublisherCallbackChannelImpl(Channel, ExecutorService)}
117+
* @deprecated since 2.2.1 in favor of
118+
* {@link #PublisherCallbackChannelImpl(Channel, ExecutorService)}
117119
*/
120+
@Deprecated
118121
public PublisherCallbackChannelImpl(Channel delegate) {
119122
this(delegate, null);
120123
}

0 commit comments

Comments
 (0)