Skip to content

Commit

Permalink
fix: remove PageDefault
Browse files Browse the repository at this point in the history
Signed-off-by: LE SAULNIER Kevin <[email protected]>
  • Loading branch information
LE SAULNIER Kevin committed Oct 17, 2023
1 parent c2f3071 commit eeb88f0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.gridsuite.securityanalysis.server.service.SecurityAnalysisWorkerService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
Expand Down Expand Up @@ -113,7 +112,7 @@ public ResponseEntity<PreContingencyResult> getNResult(@Parameter(description =
@ApiResponse(responseCode = "404", description = "Security analysis result has not been found")})
public ResponseEntity<Page<ContingencyResultDTO>> getNmKContingenciesResult(@Parameter(description = "Result UUID") @PathVariable("resultUuid") UUID resultUuid,
@Parameter ResultsSelectorDTO resultsSelector,
@PageableDefault() Pageable pageable) {
Pageable pageable) {
Page<ContingencyResultDTO> result = service.getNmKContingenciesResult(resultUuid, resultsSelector, pageable);

return result != null
Expand Down

0 comments on commit eeb88f0

Please sign in to comment.