Checkstyle and jdk11 fix with spock

This commit is contained in:
Marcin Grzejszczak
2018-10-05 10:44:28 +02:00
parent 27652ade37
commit 8da2e4ee57
220 changed files with 3214 additions and 1977 deletions

View File

@@ -21,6 +21,7 @@ public class WiremockTestsApplication {
public static void main(String[] args) {
SpringApplication.run(WiremockTestsApplication.class, args);
}
}
@RestController
@@ -36,6 +37,7 @@ class Controller {
public String home() {
return this.service.go();
}
}
@Component
@@ -51,6 +53,8 @@ class Service {
}
public String go() {
return this.restTemplate.getForEntity(this.base + "/resource", String.class).getBody();
return this.restTemplate.getForEntity(this.base + "/resource", String.class)
.getBody();
}
}