Clean up warnings in spring-jms
This commit is contained in:
@@ -375,7 +375,6 @@ public class JmsMessagingTemplate extends AbstractMessagingTemplate<Destination>
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("ThrowableResultOfMethodCallIgnored")
|
||||
protected MessagingException convertJmsException(JmsException ex) {
|
||||
if (ex instanceof org.springframework.jms.support.destination.DestinationResolutionException ||
|
||||
ex instanceof InvalidDestinationException) {
|
||||
|
||||
@@ -72,7 +72,6 @@ public class MessagingMessageListenerAdapter extends AbstractAdaptableMessageLis
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected Message<?> toMessagingMessage(javax.jms.Message jmsMessage) {
|
||||
try {
|
||||
return (Message<?>) getMessagingMessageConverter().fromMessage(jmsMessage);
|
||||
|
||||
Reference in New Issue
Block a user