From 7aec4842d6564a2f4ff08fe680b7e0a60c543443 Mon Sep 17 00:00:00 2001 From: Rehili Ghazwa Date: Thu, 20 Feb 2025 16:05:27 +0100 Subject: [PATCH] Thang review --- .../modification/server/dto/elasticsearch/EquipmentInfos.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gridsuite/modification/server/dto/elasticsearch/EquipmentInfos.java b/src/main/java/org/gridsuite/modification/server/dto/elasticsearch/EquipmentInfos.java index cb231c22e..bdb5cf51f 100644 --- a/src/main/java/org/gridsuite/modification/server/dto/elasticsearch/EquipmentInfos.java +++ b/src/main/java/org/gridsuite/modification/server/dto/elasticsearch/EquipmentInfos.java @@ -101,7 +101,7 @@ private static String getHvdcTypeName(HvdcLine hvdcLine) { throw NetworkModificationException.createHybridHvdcUnsupported(hvdcLine.getId()); } - return String.format("%s_%s", hvdcLine.getType(), hvdcLine.getConverterStation1().getHvdcType()); + return String.format("%s_%s", hvdcLine.getType().name(), hvdcLine.getConverterStation1().getHvdcType().name()); } public static Set getVoltageLevelsInfos(@NonNull Identifiable identifiable) {