Browse Source

Merge branch '2.1.x'

pull/15647/head
Stephane Nicoll 7 years ago
parent
commit
5fdcb219bb
  1. 2
      spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc
  2. 2
      spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

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

@ -615,7 +615,7 @@ then add a file named `src/main/java/Example.java` to contain the following code @@ -615,7 +615,7 @@ then add a file named `src/main/java/Example.java` to contain the following code
return "Hello World!";
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication.run(Example.class, args);
}

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

@ -3081,7 +3081,7 @@ following example: @@ -3081,7 +3081,7 @@ following example:
return application.sources(Application.class);
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}

Loading…
Cancel
Save