You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-integration-mail/src/main/java/org/springframework/integration/mail/config/MailReceiverFactoryBean.java
Copy file name to clipboardExpand all lines: spring-integration-mail/src/main/java/org/springframework/integration/mail/support/DefaultMailHeaderMapper.java
+1-2
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,7 @@ public Map<String, Object> toHeaders(MimeMessage source) {
Copy file name to clipboardExpand all lines: spring-integration-mail/src/test/java/org/springframework/integration/mail/MailSendingMessageHandlerContextTests.java
Copy file name to clipboardExpand all lines: spring-integration-mail/src/test/java/org/springframework/integration/mail/MailSendingMessageHandlerTests.java
+6-5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2024 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@
35
35
* @author Marius Bogoevici
36
36
* @author Oleg Zhurakousky
37
37
* @author Artem Bilan
38
+
* @author Ma Jiandong
38
39
*/
39
40
publicclassMailSendingMessageHandlerTests {
40
41
@@ -60,7 +61,7 @@ public void textMessage() {
60
61
assertThat(mailSender.getSentMimeMessages().size()).as("no mime message should have been sent").isEqualTo(0);
61
62
assertThat(mailSender.getSentSimpleMailMessages().size()).as("only one simple message must be sent")
62
63
.isEqualTo(1);
63
-
assertThat(mailSender.getSentSimpleMailMessages().get(0)).as("message content different from expected")
64
+
assertThat(mailSender.getSentSimpleMailMessages().get(0)).as("message content same as expected")
64
65
.isEqualTo(mailMessage);
65
66
}
66
67
@@ -78,10 +79,10 @@ public void byteArrayMessage() throws Exception {
78
79
assertThat(mimeMessage.getContent() instanceofMultipart).as("message must be multipart").isTrue();
Copy file name to clipboardExpand all lines: spring-integration-mail/src/test/java/org/springframework/integration/mail/config/MessageWithContentTypeTests.java
+2-20
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2022 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Copy file name to clipboardExpand all lines: spring-integration-mail/src/test/java/org/springframework/integration/mail/config/PollingMailSourceParserTests.java
+18-24
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2024 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments