diff --git a/src/main/java/eu/europa/ted/eforms/sdk/analysis/SdkLoader.java b/src/main/java/eu/europa/ted/eforms/sdk/analysis/SdkLoader.java index bc5ada3..228a4a9 100644 --- a/src/main/java/eu/europa/ted/eforms/sdk/analysis/SdkLoader.java +++ b/src/main/java/eu/europa/ted/eforms/sdk/analysis/SdkLoader.java @@ -59,9 +59,6 @@ public class SdkLoader { public static final Path EXAMPLE_NOTICES = Path.of("examples", "notices"); public static final Path EXAMPLE_REPORTS = Path.of("examples", "reports"); - // TODO: Use constant from SdkResource in ECL when it is available (TEDEFO-2707) - public static final Path TRANSLATIONS_JSON = Path.of("translations", "translations.json"); - private final Path sdkRoot; private final ObjectMapper objectMapper; @@ -183,7 +180,7 @@ public NoticeTypeSdk getNoticeTypeSdk(String noticeId, Path sdkRoot) throws IOEx public TranslationsIndex getTranslationsIndex() throws IOException { return loadJsonFile(TranslationsIndex.class, - Path.of(sdkRoot.toString(), TRANSLATIONS_JSON.toString())); + Path.of(sdkRoot.toString(), SdkResource.TRANSLATIONS_JSON.getPath().toString())); } public Set