thymeleafexamples-springmail
thymeleafexamples-springmail copied to clipboard
setTemplateEngineMessageSource have no effect
https://github.com/thymeleaf/thymeleafexamples-springmail/blob/afeb5529347a09ea8960b4feecf39a17ecd2cb68/src/main/java/thymeleafexamples/springmail/business/SpringMailConfig.java#L109 SpringTemplateEngine extends TemplateEngine . setTemplateEngineMessageSource method is in the SpringTemplateEngine class, but the return type is TemplateEngine, so this method make no sense.