more readable else if statement

This commit is contained in:
Laurent SCHOELENS 2023-03-28 18:58:20 +02:00
parent 24e5822d7b
commit 5a058a3ace
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ class ClassGraph {
} }
if (i < typeParameters.size() - 1) { if (i < typeParameters.size() - 1) {
genericsInfo += ", "; genericsInfo += ", ";
} } else if (i == typeParameters.size() - 1) {
if (i == typeParameters.size() - 1) {
genericsInfo += ">"; genericsInfo += ">";
} }
} }