diff --git a/commons/src/main/java/com/powsybl/dynawo/commons/DynawoConstants.java b/commons/src/main/java/com/powsybl/dynawo/commons/DynawoConstants.java index d4581e8bf..475094917 100644 --- a/commons/src/main/java/com/powsybl/dynawo/commons/DynawoConstants.java +++ b/commons/src/main/java/com/powsybl/dynawo/commons/DynawoConstants.java @@ -46,5 +46,5 @@ private DynawoConstants() { public static final String TIMELINE_FILENAME = "timeline"; - public static final String OUTPUT_IIDM_FILENAME_FULL_PATH = OUTPUTS_FOLDER + "/" + FINAL_STATE_FOLDER + "/" + OUTPUT_IIDM_FILENAME; + public static final String OUTPUT_IIDM_FILENAME_FULL_PATH = "%s/%s/%s".formatted(OUTPUTS_FOLDER, FINAL_STATE_FOLDER, OUTPUT_IIDM_FILENAME); }