Skip to content

Commit

Permalink
clean : sonar issues
Browse files Browse the repository at this point in the history
Signed-off-by: maissa SOUISSI <[email protected]>
  • Loading branch information
souissimai authored and Slimane AMAR committed Dec 13, 2024
1 parent c711bfd commit 5c33895
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public Consumer<Message<String>> consumeCaseImportSucceeded() {
case NETWORK_RECREATION ->
studyService.updateNetwork(studyUuid, rootNetworkUuid, userId, networkInfos);
case ROOT_NETWORK_MODIFICATION ->
studyService.updateRootNetworkCase(studyUuid, rootNetworkUuid, networkInfos, caseInfos,
studyService.updateRootNetworkCase(studyUuid, rootNetworkUuid, networkInfos, caseInfos,
importParameters, importReportUuid);
}
caseService.disableCaseExpiration(caseUuid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.gridsuite.study.server.repository.nonevacuatedenergy.NonEvacuatedEnergyParametersEntity;
import org.gridsuite.study.server.repository.rootnetwork.RootNetworkCreationRequestEntity;
import org.gridsuite.study.server.repository.rootnetwork.RootNetworkEntity;
import org.gridsuite.study.server.repository.rootnetwork.RootNetworkRepository;
import org.gridsuite.study.server.repository.voltageinit.StudyVoltageInitParametersEntity;
import org.gridsuite.study.server.service.dynamicsimulation.DynamicSimulationEventService;
import org.gridsuite.study.server.service.dynamicsimulation.DynamicSimulationService;
Expand Down Expand Up @@ -94,7 +93,6 @@ public class StudyService {
private final String defaultDynamicSimulationProvider;

private final StudyRepository studyRepository;
private final RootNetworkRepository rootNetworkRepository;
private final StudyCreationRequestRepository studyCreationRequestRepository;
private final NetworkService networkStoreService;
private final NetworkModificationService networkModificationService;
Expand Down Expand Up @@ -149,7 +147,6 @@ public StudyService(
@Value("${non-evacuated-energy.default-provider}") String defaultNonEvacuatedEnergyProvider,
@Value("${dynamic-simulation.default-provider}") String defaultDynamicSimulationProvider,
StudyRepository studyRepository,
RootNetworkRepository rootNetworkRepository,
StudyCreationRequestRepository studyCreationRequestRepository,
NetworkService networkStoreService,
NetworkModificationService networkModificationService,
Expand Down Expand Up @@ -183,7 +180,6 @@ public StudyService(
this.defaultNonEvacuatedEnergyProvider = defaultNonEvacuatedEnergyProvider;
this.defaultDynamicSimulationProvider = defaultDynamicSimulationProvider;
this.studyRepository = studyRepository;
this.rootNetworkRepository = rootNetworkRepository;
this.studyCreationRequestRepository = studyCreationRequestRepository;
this.networkStoreService = networkStoreService;
this.networkModificationService = networkModificationService;
Expand Down

0 comments on commit 5c33895

Please sign in to comment.