From 46364052c9bc5b5f6157fcd81cf62e3e8359e322 Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 30 Jan 2020 16:33:29 +0100 Subject: [PATCH] fix build --- .../webservice/weblayer/api/ExamAPI_V1_Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java index e3a96b21..ba4bb1c1 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java @@ -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_NUMBER, required = false) final int pingNumber) { - return new CompletableFuture().completeAsync( + return CompletableFuture.supplyAsync( () -> this.sebClientConnectionService .notifyPing(connectionToken, timestamp, pingNumber), this.executor);