From 31e85257c4bbcc3099a843ddf5e952383c3aa016 Mon Sep 17 00:00:00 2001 From: Flo Drux Date: Tue, 12 Dec 2023 09:50:10 +0100 Subject: [PATCH] SymTypeOfWildcard remove legacy deepClone --- .../monticore/types/check/SymTypeOfWildcard.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/monticore-grammar/src/main/java/de/monticore/types/check/SymTypeOfWildcard.java b/monticore-grammar/src/main/java/de/monticore/types/check/SymTypeOfWildcard.java index bbedd5eeb0..43975eab67 100644 --- a/monticore-grammar/src/main/java/de/monticore/types/check/SymTypeOfWildcard.java +++ b/monticore-grammar/src/main/java/de/monticore/types/check/SymTypeOfWildcard.java @@ -72,20 +72,6 @@ else if (isUpper()) { } } - @Override - public SymTypeOfWildcard deepClone() { - SymTypeOfWildcard clone; - if (hasBound()) { - clone = new SymTypeOfWildcard(getBound().deepClone(), isUpper()); - } - else { - clone = new SymTypeOfWildcard(null, false); - } - clone.typeSymbol = this.typeSymbol; - clone.functionList = this.functionList; - return clone; - } - @Override public boolean isValidType() { return false;