From db6f15b591ebaf708450dc28ab3de4dda3aea746 Mon Sep 17 00:00:00 2001 From: Oliver Schmid Date: Mon, 27 Nov 2023 14:14:19 +0100 Subject: [PATCH] fix import for semantic name --- generator/templates/OpenMINDS.java.j2 | 1 - generator/templates/schema_class.java.j2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/generator/templates/OpenMINDS.java.j2 b/generator/templates/OpenMINDS.java.j2 index d481ed3..a9c7a53 100644 --- a/generator/templates/OpenMINDS.java.j2 +++ b/generator/templates/OpenMINDS.java.j2 @@ -1,6 +1,5 @@ package org.openmetadatainitiative.openminds; -import com.fasterxml.jackson.databind.ObjectMapper; import org.openmetadatainitiative.openminds.utils.Instance; import org.openmetadatainitiative.openminds.utils.OpenMINDSContext; import org.openmetadatainitiative.openminds.utils.ParsingUtils; diff --git a/generator/templates/schema_class.java.j2 b/generator/templates/schema_class.java.j2 index 3050ae5..f129173 100644 --- a/generator/templates/schema_class.java.j2 +++ b/generator/templates/schema_class.java.j2 @@ -13,7 +13,7 @@ import java.util.UUID; {% for import in imports %}import {{import}}; {% endfor %} -import static {{package_name}}.{{ class_name }}.*; +import static {{package_name}}.{{ class_name }}.SEMANTIC_NAME; /** {{java_doc}} *