Fix some JavaDocs Warnings

This commit is contained in:
Artem Bilan
2015-10-21 22:08:36 -04:00
committed by Gary Russell
parent 279c30d1b0
commit df85b87d5b
3 changed files with 7 additions and 7 deletions

View File

@@ -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() {
}

View File

@@ -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) {

View File

@@ -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) {