Fix Delegate bug

This commit is contained in:
Michal Hajas 2021-11-16 15:11:15 +01:00 committed by Hynek Mlnařík
parent 8bd18ff21a
commit 4291caff3c

View file

@ -554,8 +554,8 @@ public class GenerateEntityImplementationsProcessor extends AbstractProcessor {
} }
pw.println("public class " + mapSimpleClassName + " implements " + className + " {"); pw.println("public class " + mapSimpleClassName + " implements " + className + " {");
pw.println(" private final org.keycloak.models.map.common.delegate.DelegateProvider<" + mapSimpleClassName + "> delegateProvider;"); pw.println(" private final org.keycloak.models.map.common.delegate.DelegateProvider<" + className + "> delegateProvider;");
pw.println(" public " + mapSimpleClassName + "(org.keycloak.models.map.common.delegate.DelegateProvider<" + mapSimpleClassName + "> delegateProvider) {"); pw.println(" public " + mapSimpleClassName + "(org.keycloak.models.map.common.delegate.DelegateProvider<" + className + "> delegateProvider) {");
pw.println(" this.delegateProvider = delegateProvider;"); pw.println(" this.delegateProvider = delegateProvider;");
pw.println(" }"); pw.println(" }");