Remove trailing space on CardHelper.getType()
@@ -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();
}
