Skip to content

Commit b167068

Browse files
clean
1 parent f3deb69 commit b167068

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/gridsuite/shortcircuit/server/ParametersController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.gridsuite.shortcircuit.server;
22

3-
import com.fasterxml.jackson.core.JsonProcessingException;
43
import io.swagger.v3.oas.annotations.Operation;
54
import io.swagger.v3.oas.annotations.Parameter;
65
import io.swagger.v3.oas.annotations.responses.ApiResponse;
@@ -58,7 +57,7 @@ public ResponseEntity<Void> deleteParameters(@Parameter(description = "UUID of p
5857
@PutMapping(value = "/parameters/{parametersUuid}", consumes = {APPLICATION_JSON_VALUE, APPLICATION_JSON_PATCH_VALUE})
5958
@Operation(summary = "Update a set of parameters for an analysis or reset them to default ones")
6059
public ResponseEntity<Void> updateParameters(@Parameter(description = "UUID of parameters") @PathVariable("parametersUuid") UUID parametersUuid,
61-
@RequestHeader(value = CONTENT_TYPE, required = false) MediaType contentType, @RequestBody(required = false) String parametersPatch) throws JsonProcessingException {
60+
@RequestHeader(value = CONTENT_TYPE, required = false) MediaType contentType, @RequestBody(required = false) String parametersPatch) {
6261
if (shortCircuitService.updateParameters(parametersUuid, contentType, parametersPatch)) {
6362
return ResponseEntity.noContent().build();
6463
} else {

0 commit comments

Comments
 (0)