Remove trailing space on CardHelper.getType()

This commit is contained in:
JOAC69 2017-03-05 19:10:20 -06:00
parent dd84287305
commit c854fc3d1a

View file

@ -69,6 +69,10 @@ public final class CardHelper {
type.append(' ');
}
}
if (type.length() > 0) {
// remove trailing space
type.deleteCharAt(type.length() - 1);
}
return type.toString();
}