From 43b122d8d99718afe334b588ef5969ca23eb9195 Mon Sep 17 00:00:00 2001 From: Tristan Chuine Date: Fri, 14 Jun 2024 11:08:25 +0200 Subject: [PATCH] review --- src/main/java/org/gridsuite/study/server/StudyController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/gridsuite/study/server/StudyController.java b/src/main/java/org/gridsuite/study/server/StudyController.java index 5c2301bb7..5c07b32cf 100644 --- a/src/main/java/org/gridsuite/study/server/StudyController.java +++ b/src/main/java/org/gridsuite/study/server/StudyController.java @@ -51,7 +51,6 @@ import javax.annotation.Nullable; import java.beans.PropertyEditorSupport; -import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.*; @@ -633,7 +632,7 @@ public ResponseEntity runShortCircuit( @PathVariable("studyUuid") UUID studyUuid, @PathVariable("nodeUuid") UUID nodeUuid, @RequestParam(value = "busId", required = false) Optional busId, - @RequestHeader(HEADER_USER_ID) String userId) throws IOException { + @RequestHeader(HEADER_USER_ID) String userId) { studyService.assertIsNodeNotReadOnly(nodeUuid); studyService.runShortCircuit(studyUuid, nodeUuid, busId, userId); return ResponseEntity.ok().build();