Skip to content

Commit

Permalink
sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH committed Jun 11, 2024
1 parent 4c4e6f0 commit 8fc9567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/**
* @author AJELLAL Ali <[email protected]>
* @deprecated for delete
*/
@Deprecated(forRemoval = true, since = "1.7.0")
public enum ShortCircuitPredefinedConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ public UUID runSensitivityAnalysis(UUID studyUuid, UUID nodeUuid, String userId)
return result;
}

public UUID runShortCircuit(UUID studyUuid, UUID nodeUuid, Optional<String> busId, String userId) throws JsonProcessingException {
public UUID runShortCircuit(UUID studyUuid, UUID nodeUuid, Optional<String> busId, String userId) {
networkModificationTreeService.getComputationResultUuid(nodeUuid, busId.isEmpty() ? SHORT_CIRCUIT : SHORT_CIRCUIT_ONE_BUS)
.ifPresent(shortCircuitService::deleteShortCircuitAnalysisResult);
final Optional<UUID> parametersUuid = studyRepository.findById(studyUuid).map(StudyEntity::getShortCircuitParametersUuid);
Expand Down

0 comments on commit 8fc9567

Please sign in to comment.