From d9e599ca85b6e406f3865585aafcf85f47805786 Mon Sep 17 00:00:00 2001 From: Coline PILOQUET Date: Thu, 27 Jul 2023 15:08:12 +0200 Subject: [PATCH] Add spacing in network modification log and report Signed-off-by: Coline PILOQUET --- .../topology/AbstractCreateConnectableFeederBays.java | 2 +- .../com/powsybl/iidm/modification/util/ModificationReports.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java b/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java index 7a197674d00..b1af6e8edba 100644 --- a/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java +++ b/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java @@ -238,7 +238,7 @@ private void createTopology(int side, Network network, VoltageLevel voltageLevel parallelBbsNumber = bbsList.size(); createTopologyFromBusbarSectionList(voltageLevel, forkNode, baseId, bbsList); } - LOGGER.info("New feeder bay associated to {} of type {} was created and connected to voltage level {} on busbar section {} with a closed disconnector" + + LOGGER.info("New feeder bay associated to {} of type {} was created and connected to voltage level {} on busbar section {} with a closed disconnector " + "and on {} parallel busbar sections with an open disconnector.", connectable.getId(), connectable.getType(), voltageLevel.getId(), bbsId, parallelBbsNumber); createdNodeBreakerFeederBay(reporter, voltageLevel.getId(), bbsId, connectable, parallelBbsNumber); } diff --git a/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/util/ModificationReports.java b/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/util/ModificationReports.java index 1244d5cc420..ef1fb36d1c9 100644 --- a/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/util/ModificationReports.java +++ b/iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/util/ModificationReports.java @@ -40,7 +40,7 @@ public static void createdConnectable(Reporter reporter, Connectable connecta public static void createdNodeBreakerFeederBay(Reporter reporter, String voltageLevelId, String bbsId, Connectable connectable, int parallelBbsNumber) { reporter.report(Report.builder() .withKey("newConnectableAdded") - .withDefaultMessage("New feeder bay associated to ${connectableId} of type ${connectableType} was created and connected to voltage level ${voltageLevelId} on busbar section ${bbsId} with a closed disconnector" + + .withDefaultMessage("New feeder bay associated to ${connectableId} of type ${connectableType} was created and connected to voltage level ${voltageLevelId} on busbar section ${bbsId} with a closed disconnector " + "and on ${parallelBbsNumber} parallel busbar sections with an open disconnector.") .withValue(CONNECTABLE_ID, connectable.getId()) .withValue("connectableType", connectable.getType().toString())