if (table.getState() != TableState.FINISHED) {
tableList.add(new TableView(table));
}
else if (matchList.size() < 50) {
if (table.isTournament()) {
matchList.add(new MatchView(table));
} else {
matchList.add(new MatchView(table));
}
} else {
// more since 50 matches finished since this match so remove it
if (table.isTournament()) {
TournamentManager.getInstance().removeTournament(table.getTournament().getId());