This commit is contained in:
JanUlrich 2018-01-10 12:11:51 +01:00
parent ab86cc3229
commit 672373fc8d

View File

@ -29,7 +29,8 @@ public class RefType extends RefTypeOrTPHOrWildcardOrGeneric
@Override
public String toString(){
String params = "<";
String params = "";
if(parameter.size()>0){
Iterator<RefTypeOrTPHOrWildcardOrGeneric> it = parameter.iterator();
while(it.hasNext()){
RefTypeOrTPHOrWildcardOrGeneric param = it.next();
@ -37,6 +38,7 @@ public class RefType extends RefTypeOrTPHOrWildcardOrGeneric
if(it.hasNext())params += ", ";
}
params += ">";
}
return this.name.toString() + params;
}