From b8a7ab279ece1aafddffedb3950945747f261ebe Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 31 Jan 2024 16:54:32 +0100 Subject: [PATCH] SEBSERV-427 comments --- .../sebserver/gui/service/session/ClientConnectionTable.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 869cb3e8..adabece4 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 @@ -431,8 +431,7 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate } private void sortTable() { - // SEBSERV-427 get all selected indices here and - + // SEBSERV-427 get all selected indices here and store connectionTokens for selection in Set this.sortList.clear(); this.sortList.addAll(this.tableMapping.values()); @@ -443,6 +442,8 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate final UpdatableTableItem item = iterator.next(); this.tableMapping.put(item.connectionId, item); } + + // SEBSERV-427 apply selected connectionTokens back to table index selection } private void notifySelectionChange() {