Skip to content

Commit 5fdcb21

Browse files
committed
Merge branch '2.1.x'
2 parents 06bdb42 + 1ccb64c commit 5fdcb21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ then add a file named `src/main/java/Example.java` to contain the following code
615615
return "Hello World!";
616616
}
617617
618-
public static void main(String[] args) throws Exception {
618+
public static void main(String[] args) {
619619
SpringApplication.run(Example.class, args);
620620
}
621621

spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ following example:
30813081
return application.sources(Application.class);
30823082
}
30833083
3084-
public static void main(String[] args) throws Exception {
3084+
public static void main(String[] args) {
30853085
SpringApplication.run(Application.class, args);
30863086
}
30873087

0 commit comments

Comments
 (0)