Fixes for ignored tests after last week's nullability commit
Issue: SPR-15540
This commit is contained in:
@@ -179,8 +179,8 @@ public class SendToMethodReturnValueHandler implements HandlerMethodReturnValueH
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (annotation instanceof SendTo) {
|
||||
SendTo sendTo = (SendTo) annotation;
|
||||
else {
|
||||
SendTo sendTo = (SendTo) annotation; // possibly null
|
||||
String[] destinations = getTargetDestinations(sendTo, message, this.defaultDestinationPrefix);
|
||||
for (String destination : destinations) {
|
||||
destination = this.placeholderHelper.replacePlaceholders(destination, varResolver);
|
||||
|
||||
Reference in New Issue
Block a user