* The list of open tables shows now the codes of boosters selected for sealed or draft tournaments in the deck type column.

This commit is contained in:
LevelX2 2013-06-10 12:38:38 +02:00
parent ae6139f859
commit aef53bc4ce
4 changed files with 30 additions and 1 deletions

View file

@ -65,7 +65,6 @@ public class TableView implements Serializable {
this.tableName = table.getName();
this.controllerName = table.getControllerName();
this.createTime = table.getCreateTime();
this.deckType = table.getDeckType();
this.tableState = table.getState();
this.isTournament = table.isTournament();
for (Seat seat: table.getSeats()) {
@ -83,6 +82,7 @@ public class TableView implements Serializable {
}
}
this.controllerName += sb.toString();
this.deckType = table.getDeckType();
} else {
StringBuilder sb1 = new StringBuilder();
for (TournamentPlayer tp: table.getTournament().getPlayers()) {
@ -96,6 +96,7 @@ public class TableView implements Serializable {
sb.append(" - Running round: ").append(table.getTournament().getRounds().size());
}
this.additionalInfo = sb.toString();
this.deckType = new StringBuilder(table.getDeckType()).append(" ").append(table.getTournament().getSetsFormatedShort()).toString();
}
}