convert cardcast white cards into pyx format

capitalize the first letter and add a period if there's no punc
This commit is contained in:
Vir4030 2014-08-21 22:02:20 -05:00
parent 5b43fd1dd0
commit 05325c01bc
1 changed files with 0 additions and 10 deletions

View File

@ -99,16 +99,6 @@ public class CardcastService {
return soft.get();
}
private static String sanitizeWhite(final String input) {
final StringBuilder sb = new StringBuilder();
sb.append(input.substring(0, 1).toUpperCase());
sb.append(input.substring(1));
if (Character.isLetterOrDigit(input.charAt(input.length() - 1))) {
sb.append('.');
}
return sb.toString();
}
public CardcastDeck loadSet(final String setId) {
if (!validIdPattern.matcher(setId).matches()) {
return null;