diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java index 6cc273fc..d28e6342 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java @@ -827,7 +827,11 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate final Set result = new HashSet<>(); for (int i = 0; i < selectionIndices.length; i++) { - UpdatableTableItem item = this.tableMapping.values().stream().toList().get(selectionIndices[i]); + UpdatableTableItem item = this.tableMapping.values() + .stream() + .collect(Collectors.toList()) + .get(selectionIndices[i]); + result.add(item.staticData.connectionToken); }