BATCH-1837 Spring 3 Compatibility
Update profile to Spring 3.0.7; fix compile issues in 2 tests.
This commit is contained in:
@@ -52,7 +52,7 @@ public class TestMailSender implements MailSender {
|
||||
}
|
||||
|
||||
public void send(SimpleMailMessage[] simpleMessages) throws MailException {
|
||||
Map<SimpleMailMessage, MessagingException> failedMessages = new LinkedHashMap<SimpleMailMessage, MessagingException>();
|
||||
Map<Object, Exception> failedMessages = new LinkedHashMap<Object, Exception>();
|
||||
for (SimpleMailMessage simpleMessage : simpleMessages) {
|
||||
if (subjectsToFail.contains(simpleMessage.getSubject())) {
|
||||
failedMessages.put(simpleMessage, new MessagingException());
|
||||
|
||||
Reference in New Issue
Block a user