make code java 8 compatible

This commit is contained in:
Nadim Ritter 2024-02-01 16:41:40 +01:00
parent 34f8fa1e0a
commit acc50ee94d

View file

@ -827,7 +827,11 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
final Set<String> 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);
}