Refactored code

This commit is contained in:
anuradha 2021-10-01 23:55:41 +05:30
parent 33c7dd6b63
commit eae33a7730
2 changed files with 7 additions and 7 deletions

View File

@ -6,8 +6,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MavenGenerateWarApplication {
public static void main(String[] args) {
SpringApplication.run(MavenGenerateWarApplication.class, args);
}
public static void main(String[] args) {
SpringApplication.run(MavenGenerateWarApplication.class, args);
}
}

View File

@ -5,9 +5,9 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(MavenGenerateWarApplication.class);
}
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(MavenGenerateWarApplication.class);
}
}