Commit 5fdcb219 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x'

parents 06bdb422 1ccb64c4
...@@ -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!"; return "Hello World!";
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) {
SpringApplication.run(Example.class, args); SpringApplication.run(Example.class, args);
} }
......
...@@ -3081,7 +3081,7 @@ following example: ...@@ -3081,7 +3081,7 @@ following example:
return application.sources(Application.class); return application.sources(Application.class);
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) {
SpringApplication.run(Application.class, args); SpringApplication.run(Application.class, args);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment