Remove unnecessary semicolon

See gh-24628
This commit is contained in:
Andrey Kolchanov
2021-01-01 17:15:38 +03:00
committed by Stephane Nicoll
parent 9928d74a9e
commit 097104584c
5 changed files with 9 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ import groovyx.net.http.*
class Example implements CommandLineRunner {
@Autowired
ApplicationContext context;
ApplicationContext context
@RequestMapping("/")
@ResponseBody
@@ -16,7 +16,7 @@ class Example implements CommandLineRunner {
}
void run(String... args) {
def port = context.webServer.port;
def port = context.webServer.port
def world = new RESTClient("http://localhost:" + port).get(path:"/").data.text
print "Hello " + world
}