From 55be865ab4fd96d8bbfd84d12dcb324b42d6be16 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Wed, 20 Dec 2017 15:06:04 +0100 Subject: [PATCH] Bugfix --- src/de/dhbwstuttgart/typeinference/result/ResultSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/dhbwstuttgart/typeinference/result/ResultSet.java b/src/de/dhbwstuttgart/typeinference/result/ResultSet.java index 22da67fcf..19701d7b7 100644 --- a/src/de/dhbwstuttgart/typeinference/result/ResultSet.java +++ b/src/de/dhbwstuttgart/typeinference/result/ResultSet.java @@ -16,7 +16,7 @@ public class ResultSet { public ResolvedType resolveType(RefTypeOrTPHOrWildcardOrGeneric type) { if(type instanceof TypePlaceholder) return new Resolver(this).resolve((TypePlaceholder)type); - if(type instanceof GenericRefType)new ResolvedType(type, new HashSet<>()); + if(type instanceof GenericRefType)return new ResolvedType(type, new HashSet<>()); if(type instanceof RefType){ RelatedTypeWalker related = new RelatedTypeWalker(null, this); type.accept(related);