We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4156a commit 33c78b6Copy full SHA for 33c78b6
src/main/java/org/gridsuite/modification/modifications/AbstractBranchModification.java
@@ -414,7 +414,7 @@ protected void modifyTemporaryLimits(OperationalLimitsGroupModificationInfos ope
414
boolean isThisLimitDeleted = isThisLimitDeleted(currentLimitsInfos.getTemporaryLimits(), limitAcceptableDuration);
415
if (isThisLimitDeleted) {
416
limitToModify = null;
417
- } else {
+ } else if (TemporaryLimitModificationType.ADD.equals(limit.getModificationType())) {
418
throw new PowsyblException("2 temporary limits have the same duration " + limitAcceptableDuration);
419
}
420
0 commit comments