fix build errors on java 6

This commit is contained in:
myk
2013-03-30 09:01:42 +00:00
parent 7e5701953b
commit a7d6ca68f9

View File

@@ -162,15 +162,13 @@ public enum DeckFormat {
if(erroneousCI.size() > 0) if(erroneousCI.size() > 0)
{ {
StringBuilder sb = new StringBuilder("contains the cards " + System.lineSeparator()); StringBuilder sb = new StringBuilder("contains card that do not match the commanders color identity:");
for(CardPrinted cp : erroneousCI) for(CardPrinted cp : erroneousCI)
{ {
sb.append(cp.getName() + ", " + System.lineSeparator()); sb.append("\n").append(cp.getName());
} }
sb.append(" that do not match the commanders color identity.");
return sb.toString(); return sb.toString();
} }