added some missing session references

This commit is contained in:
ingmargoudt 2016-09-16 08:58:02 +02:00
parent 1b5d697b33
commit 71398d6d83
7 changed files with 28 additions and 16 deletions

View file

@ -746,7 +746,7 @@ class UpdateTournamentTask extends SwingWorker<Void, TournamentView> {
@Override
protected void process(List<TournamentView> view) {
if (view != null && view.size() > 0) { // if user disconnects, view can be null for a short time
if (view != null && !view.isEmpty()) { // if user disconnects, view can be null for a short time
panel.update(view.get(0));
}
}