mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 17:35:22 +00:00
Remove redundant throws Exception
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ public class SampleBatchApplication {
|
||||
return this.steps.get("step1").tasklet(tasklet()).build();
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
public static void main(String[] args) {
|
||||
// System.exit is common for Batch applications since the exit code can be used to
|
||||
// drive a workflow
|
||||
System.exit(SpringApplication
|
||||
|
||||
Reference in New Issue
Block a user