Fix syntax in sample
This commit is contained in:
@@ -69,8 +69,8 @@ server on `http://localhost:8888` (the default value of
|
||||
public class Application {
|
||||
|
||||
@RequestMapping("/")
|
||||
String home() {
|
||||
"Hello World"
|
||||
public String home() {
|
||||
return "Hello World";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user