From b17766f71787b63a482e7d5848c796e13add17ab Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 12 Sep 2022 17:21:18 +0300 Subject: [PATCH] Remove extends TemplateModel --- .../src/main/java/org/vaadin/artur/polymertolit/Transformer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/main/java/org/vaadin/artur/polymertolit/Transformer.java b/java/src/main/java/org/vaadin/artur/polymertolit/Transformer.java index 31967be..be89ec9 100644 --- a/java/src/main/java/org/vaadin/artur/polymertolit/Transformer.java +++ b/java/src/main/java/org/vaadin/artur/polymertolit/Transformer.java @@ -87,6 +87,7 @@ private static void transformModel(String modelType, JavaClassSource javaClass) // System.out.println("Sub: " + nested.isInterface()); JavaInterfaceSource model = (JavaInterfaceSource) nested; + model.removeInterface("TemplateModel"); LinkedHashSet getters = new LinkedHashSet<>(); LinkedHashSet setters = new LinkedHashSet<>(); LinkedHashMap> types = new LinkedHashMap>();