package org.synyx.urlaubsverwaltung.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBean;


/**
 * Configuration to send mails.
 *
 * @author  Aljona Murygina - murygina@synyx.de
 */
@Configuration
public class MailConfig {

    @Bean(name = "javaMailSender")
    public JavaMailSenderImpl javaMailSender() {

        return new JavaMailSenderImpl();
    }

}

@@ -216,85 +216,8 @@
 pl;%0A
-import org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBean;%0A
 %0A%0A/*
@@ -264,17 +264,16 @@
 @author 
- 
 Aljona M

remove unused freemaker import