From 5f82bf2459e25e5c6a53647cf0213aee06ce60e3 Mon Sep 17 00:00:00 2001 From: lisrte Date: Wed, 17 Jul 2024 11:53:24 +0200 Subject: [PATCH] Review fix Signed-off-by: lisrte --- .../main/java/com/powsybl/dynawaltz/builders/ModelConfigs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynawaltz/src/main/java/com/powsybl/dynawaltz/builders/ModelConfigs.java b/dynawaltz/src/main/java/com/powsybl/dynawaltz/builders/ModelConfigs.java index 394f2dab4..ba0b3e1af 100644 --- a/dynawaltz/src/main/java/com/powsybl/dynawaltz/builders/ModelConfigs.java +++ b/dynawaltz/src/main/java/com/powsybl/dynawaltz/builders/ModelConfigs.java @@ -48,7 +48,7 @@ public Set getModelInfos() { } Set getModelsName() { - return modelConfigMap.keySet(); + return Set.copyOf(modelConfigMap.keySet()); } void addModelConfigs(ModelConfigs modelConfigsToMerge) {