From 481986e8aba0712e99d370e6df2c3edad9c1e5bb Mon Sep 17 00:00:00 2001 From: Michael Uhl Date: Sat, 20 Apr 2019 17:22:10 +0200 Subject: [PATCH] Kein Compileraufruf bei Type-Insert - ResultPairMap wird wieder geleeert. --- .../de/dhbwstuttgart/typeinference/result/ResultPairMap.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/de/dhbwstuttgart/typeinference/result/ResultPairMap.java b/src/main/java/de/dhbwstuttgart/typeinference/result/ResultPairMap.java index e04c21ad9..1a93d6ad7 100644 --- a/src/main/java/de/dhbwstuttgart/typeinference/result/ResultPairMap.java +++ b/src/main/java/de/dhbwstuttgart/typeinference/result/ResultPairMap.java @@ -27,4 +27,9 @@ public class ResultPairMap { public ResultPair get(Token tkn, String insertString) { return inner.get(tkn); } + + public void clear() { + inner.clear(); + indexMap.clear(); + } }