Add default methods to MailSender and JavaMailSender when appropriate
send(..) -methods of JavaMailSenderImpl which is only delegating to
other methods are pulled up as default methods in the interfaces
JavaMailSender and MailSender, to make these interfaces require fewer
methods to implement.
See gh-23651
pull/31244/head
Rune Flobakk5 years agocommitted byStéphane Nicoll
@ -307,11 +306,6 @@ public class JavaMailSenderImpl implements JavaMailSender {
@@ -307,11 +306,6 @@ public class JavaMailSenderImpl implements JavaMailSender {
@ -351,43 +345,11 @@ public class JavaMailSenderImpl implements JavaMailSender {
@@ -351,43 +345,11 @@ public class JavaMailSenderImpl implements JavaMailSender {