fix build

This commit is contained in:
anhefti 2020-01-30 16:33:29 +01:00
parent 77556a914c
commit 46364052c9

View file

@ -316,7 +316,7 @@ public class ExamAPI_V1_Controller {
@RequestParam(name = API.EXAM_API_PING_TIMESTAMP, required = true) final long timestamp, @RequestParam(name = API.EXAM_API_PING_TIMESTAMP, required = true) final long timestamp,
@RequestParam(name = API.EXAM_API_PING_NUMBER, required = false) final int pingNumber) { @RequestParam(name = API.EXAM_API_PING_NUMBER, required = false) final int pingNumber) {
return new CompletableFuture<String>().completeAsync( return CompletableFuture.supplyAsync(
() -> this.sebClientConnectionService () -> this.sebClientConnectionService
.notifyPing(connectionToken, timestamp, pingNumber), .notifyPing(connectionToken, timestamp, pingNumber),
this.executor); this.executor);