package org.stagemonitor.eum;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.stagemonitor.core.Stagemonitor;

@SpringBootApplication
public class EumApplication extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return configureApplication(builder);
	}

	public static void main(String[] args) {
		configureApplication(new SpringApplicationBuilder()).run(args);
	}

	private static SpringApplicationBuilder configureApplication(SpringApplicationBuilder builder) {
		Stagemonitor.init();
		return builder.sources(EumApplication.class).bannerMode(Banner.Mode.OFF);
	}

}

@@ -28,48 +28,8 @@
 m;%0A%0A
-import org.springframework.boot.Banner;%0A
 impo
@@ -788,36 +788,8 @@
 ass)
-.bannerMode(Banner.Mode.OFF)
 ;%0A%09%7D

Enable banner for eum server