Skip to content

Commit ba7f192

Browse files
committed
little change
Signed-off-by: David BRAQUART <[email protected]>
1 parent 4ec5887 commit ba7f192

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<sonar.organization>gridsuite</sonar.organization>
5353
<sonar.projectKey>org.gridsuite:network-modification-server</sonar.projectKey>
5454
<!-- TODO network-modification.version remove when upgrading gridsuite dependencies -->
55-
<network-modification.version>0.38.0</network-modification.version>
55+
<network-modification.version>0.39.0-SNAPSHOT</network-modification.version>
5656
<powsybl-balances-adjustment.version>2.14.1</powsybl-balances-adjustment.version>
5757
</properties>
5858

src/main/java/org/gridsuite/modification/server/entities/tabular/TabularModificationsEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2021, RTE (http://www.rte-france.com)
2+
Copyright (c) 2025, RTE (http://www.rte-france.com)
33
This Source Code Form is subject to the terms of the Mozilla Public
44
License, v. 2.0. If a copy of the MPL was not distributed with this
55
file, You can obtain one at http://mozilla.org/MPL/2.0/.

src/test/java/org/gridsuite/modification/server/modifications/tabularmodifications/TabularShuntCompensatorModificationsTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ void testCheckModificationConflict() {
132132
.withMessageTemplate("test")
133133
.build();
134134

135-
tabularModification.checkShuntCompensatorModification(network, shuntModification, reportNode);
135+
tabularModification.specificCheck(shuntModification, network, reportNode);
136136

137137
shuntModification.setShuntCompensatorType(AttributeModification.toAttributeModification(ShuntCompensatorType.CAPACITOR, OperationType.SET));
138-
tabularModification.checkShuntCompensatorModification(network, shuntModification, reportNode);
138+
tabularModification.specificCheck(shuntModification, network, reportNode);
139139

140140
shuntModification.setMaxQAtNominalV(null);
141-
tabularModification.checkShuntCompensatorModification(network, shuntModification, reportNode);
141+
tabularModification.specificCheck(shuntModification, network, reportNode);
142142

143143
assertEquals(TypedValue.WARN_SEVERITY, reportNode.getChildren().get(0).getValues().get(ReportConstants.SEVERITY_KEY));
144144
}
@@ -167,7 +167,7 @@ void testCheckModificationNonLinear() {
167167
.withResourceBundles("i18n.reports")
168168
.withMessageTemplate("test")
169169
.build();
170-
tabularModification.checkShuntCompensatorModification(network, shuntModification, reportNode);
170+
tabularModification.specificCheck(shuntModification, network, reportNode);
171171

172172
assertEquals(TypedValue.ERROR_SEVERITY, reportNode.getChildren().get(0).getValues().get(ReportConstants.SEVERITY_KEY));
173173

@@ -197,7 +197,7 @@ void testCheckModificationOK() {
197197
.withMessageTemplate("test")
198198
.build();
199199

200-
tabularModification.checkShuntCompensatorModification(network, shuntModification, reportNode);
200+
tabularModification.specificCheck(shuntModification, network, reportNode);
201201
assertEquals(0, reportNode.getChildren().size());
202202
}
203203
}

0 commit comments

Comments
 (0)