Fix some JavaDocs Warnings
This commit is contained in:
committed by
Gary Russell
parent
279c30d1b0
commit
df85b87d5b
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -147,7 +147,7 @@ public class StubRabbitConnectionFactory implements ConnectionFactory {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
public boolean flowBlocked() {
|
||||
return false;
|
||||
}
|
||||
@@ -483,18 +483,18 @@ public class StubRabbitConnectionFactory implements ConnectionFactory {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
public void addFlowListener(FlowListener listener) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
public boolean removeFlowListener(FlowListener listener) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
public void clearFlowListeners() {
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public class MessageRejectedException extends MessageHandlingException {
|
||||
|
||||
/**
|
||||
* @param failedMessage the failed {@link Message}
|
||||
* @deprecated since 4.2 in favor of {@link MessageRejectedException(Message, String)}
|
||||
* @deprecated since 4.2 in favor of {@link #MessageRejectedException(Message, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public MessageRejectedException(Message<?> failedMessage) {
|
||||
|
||||
@@ -39,7 +39,7 @@ public class MessageTransformationException extends MessagingException {
|
||||
/**
|
||||
* @param message the failed {@link Message}
|
||||
* @param cause the cause {@link Throwable}
|
||||
* @deprecated since 4.2 in favor of {@link MessageTransformationException(Message, String, Throwable)}.
|
||||
* @deprecated since 4.2 in favor of {@link #MessageTransformationException(Message, String, Throwable)}.
|
||||
*/
|
||||
@Deprecated
|
||||
public MessageTransformationException(Message<?> message, Throwable cause) {
|
||||
|
||||
Reference in New Issue
Block a user