Remove redundant throws Exception

This commit is contained in:
Madhura Bhave
2018-01-25 17:08:55 +05:30
parent 9cae416755
commit d65f9b25bc
57 changed files with 57 additions and 57 deletions

View File

@@ -36,7 +36,7 @@ public class SampleSpringXmlApplication implements CommandLineRunner {
System.out.println(this.helloWorldService.getHelloMessage());
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication application = new SpringApplication();
application.setSources(Collections.singleton(CONTEXT_XML));
application.run(args);