Skip to content

Commit 310af72

Browse files
committed
Remove raw use of parameterized class ResponseEntity in ComputeController
1 parent 2f9750b commit 310af72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/iexec/worker/compute/ComputeController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022 IEXEC BLOCKCHAIN TECH
2+
* Copyright 2022-2023 IEXEC BLOCKCHAIN TECH
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ public ComputeController(ComputeExitCauseService computeStageExitService,
4242
}
4343

4444
@PostMapping("/compute/{stage}/{chainTaskId}/exit")
45-
public ResponseEntity sendExitCauseForGivenComputeStage(
45+
public ResponseEntity<Void> sendExitCauseForGivenComputeStage(
4646
@PathVariable ComputeStage stage,
4747
@PathVariable String chainTaskId,
4848
@RequestBody ExitMessage exitMessage) {

0 commit comments

Comments
 (0)