SEBSERV-478 review and optimizations
This commit is contained in:
parent
7ddbb218e6
commit
cd9fcff8f0
1 changed files with 3 additions and 6 deletions
|
@ -431,6 +431,9 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
|
|||
}
|
||||
|
||||
private void sortTable() {
|
||||
// SEBSERV-427 get all selected indices here and
|
||||
|
||||
|
||||
this.sortList.clear();
|
||||
this.sortList.addAll(this.tableMapping.values());
|
||||
Collections.sort(this.sortList);
|
||||
|
@ -629,12 +632,6 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
|
|||
.thenComparingInt(UpdatableTableItem::thresholdsWeight)
|
||||
.thenComparing(UpdatableTableItem::getConnectionIdentifier)
|
||||
.compare(this, other);
|
||||
|
||||
// return Comparator.comparing(UpdatableTableItem::getConnectionIdentifier)
|
||||
// .thenComparingInt(UpdatableTableItem::thresholdsWeight)
|
||||
// .thenComparingInt(UpdatableTableItem::notificationWeight)
|
||||
// .thenComparingInt(UpdatableTableItem::statusWeight)
|
||||
// .compare(this, other);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue