From 7ee06254f065aa4076f5ba88f172bf6af1878746 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Sun, 19 Aug 2018 19:42:31 +0200 Subject: [PATCH] Resolve fixen --- .../typeinference/assumptions/MethodAssumption.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java b/src/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java index ffb396705..d4f7f1191 100644 --- a/src/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java +++ b/src/de/dhbwstuttgart/typeinference/assumptions/MethodAssumption.java @@ -38,8 +38,7 @@ public class MethodAssumption extends Assumption{ } public RefTypeOrTPHOrWildcardOrGeneric getReturnType(GenericsResolver resolver) { - if(retType instanceof GenericRefType)return resolver.resolve(retType); - return retType; + return resolver.resolve(retType); } public List getArgTypes(GenericsResolver resolver) {