From e178e5f600e645b475d1149a1ab2f19765544b50 Mon Sep 17 00:00:00 2001 From: Hknots Date: Tue, 12 Nov 2024 14:46:40 +0100 Subject: [PATCH] make getIdentifikators public --- generate/java/java_class_tpl.go | 2 +- generate/java/java_resource_class_tpl.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generate/java/java_class_tpl.go b/generate/java/java_class_tpl.go index ce8d5d5..c6041db 100644 --- a/generate/java/java_class_tpl.go +++ b/generate/java/java_class_tpl.go @@ -70,7 +70,7 @@ public {{- if .Abstract }} abstract {{- end }} class {{ .Name }} {{ if .Extends {{- if .Identifiable }} @JsonIgnore @Override - private Map getIdentifikators() { + public Map getIdentifikators() { Map identifikators = new HashMap<>(); {{- if .ExtendsIdentifiable}} diff --git a/generate/java/java_resource_class_tpl.go b/generate/java/java_resource_class_tpl.go index 9777698..70b1072 100644 --- a/generate/java/java_resource_class_tpl.go +++ b/generate/java/java_resource_class_tpl.go @@ -73,7 +73,7 @@ public {{- if .Abstract }} abstract {{- end }} class {{ .Name }}Resource {{ if . {{- if .Identifiable }} @JsonIgnore @Override - private Map getIdentifikators() { + public Map getIdentifikators() { Map identifikators = new HashMap<>(); {{- if .ExtendsIdentifiable}}