Skip to content

Commit

Permalink
Add spacing in network modification log and report (#2658)
Browse files Browse the repository at this point in the history
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
  • Loading branch information
colinepiloquet authored Jul 27, 2023
1 parent 7129eac commit c04c06f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit c04c06f

Please sign in to comment.