From 86d05f64d2d158e82bec753f53f10cbc4f412115 Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Sun, 26 Feb 2017 11:17:19 +0100 Subject: [PATCH] #1119 removing superfluous method override --- .../mapstruct/ap/internal/model/common/ModelElement.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/processor/src/main/java/org/mapstruct/ap/internal/model/common/ModelElement.java b/processor/src/main/java/org/mapstruct/ap/internal/model/common/ModelElement.java index f24373495..4d2e77b1c 100644 --- a/processor/src/main/java/org/mapstruct/ap/internal/model/common/ModelElement.java +++ b/processor/src/main/java/org/mapstruct/ap/internal/model/common/ModelElement.java @@ -18,10 +18,8 @@ */ package org.mapstruct.ap.internal.model.common; -import java.io.Writer; import java.util.Set; -import org.mapstruct.ap.internal.writer.FreeMarkerModelElementWriter; import org.mapstruct.ap.internal.writer.FreeMarkerWritable; import org.mapstruct.ap.internal.writer.Writable; @@ -33,11 +31,6 @@ import org.mapstruct.ap.internal.writer.Writable; */ public abstract class ModelElement extends FreeMarkerWritable { - @Override - public void write(Context context, Writer writer) throws Exception { - new FreeMarkerModelElementWriter().write( this, context, writer ); - } - /** * Returns a set containing those {@link Type}s referenced by this model element for which an import statement needs * to be declared.