Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddik Yengui committed Sep 18, 2023
1 parent bfefe4e commit 07b7328
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ public void apply(Network network, Reporter subReporter) {

activePowerControlExtension.add();
}

if (modificationInfos.getEquipmentName() != null) {
ModificationUtils.getInstance()
.reportElementaryCreation(subReporter, modificationInfos.getEquipmentName(), "Name");
}
reportHvdcLineInfos(subReporter);

subReporter.report(Report.builder()
Expand All @@ -123,6 +118,11 @@ public void apply(Network network, Reporter subReporter) {
.withValue("id", modificationInfos.getEquipmentId())
.withSeverity(TypedValue.INFO_SEVERITY)
.build());

if (modificationInfos.getEquipmentName() != null) {
ModificationUtils.getInstance()
.reportElementaryCreation(subReporter, modificationInfos.getEquipmentName(), "Name");
}
}

private void reportHvdcLineInfos(Reporter subReporter) {
Expand Down

0 comments on commit 07b7328

Please sign in to comment.