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() {
|
private void sortTable() {
|
||||||
|
// SEBSERV-427 get all selected indices here and
|
||||||
|
|
||||||
|
|
||||||
this.sortList.clear();
|
this.sortList.clear();
|
||||||
this.sortList.addAll(this.tableMapping.values());
|
this.sortList.addAll(this.tableMapping.values());
|
||||||
Collections.sort(this.sortList);
|
Collections.sort(this.sortList);
|
||||||
|
@ -629,12 +632,6 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
|
||||||
.thenComparingInt(UpdatableTableItem::thresholdsWeight)
|
.thenComparingInt(UpdatableTableItem::thresholdsWeight)
|
||||||
.thenComparing(UpdatableTableItem::getConnectionIdentifier)
|
.thenComparing(UpdatableTableItem::getConnectionIdentifier)
|
||||||
.compare(this, other);
|
.compare(this, other);
|
||||||
|
|
||||||
// return Comparator.comparing(UpdatableTableItem::getConnectionIdentifier)
|
|
||||||
// .thenComparingInt(UpdatableTableItem::thresholdsWeight)
|
|
||||||
// .thenComparingInt(UpdatableTableItem::notificationWeight)
|
|
||||||
// .thenComparingInt(UpdatableTableItem::statusWeight)
|
|
||||||
// .compare(this, other);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue