mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-11 04:04:07 +00:00
Remove redundant throws Exception
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ public class SampleProfileApplication implements CommandLineRunner {
|
||||
System.out.println(this.helloWorldService.getMessage());
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SampleProfileApplication.class, args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user