mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
performance optimization in RefreshableSingleSelectionModel
This commit is contained in:
1 parent
c5c74bb3fc
commit
707e7bfbbd
1 file changed
+1
+1
@@ -63,6 +63,7 @@ public class RefreshableSingleSelectionModel<T> extends SingleSelectionModel<T>
|
||||
boolean isEqual = comp == null ? selected.equals(it) : comp.representSameEntity(selected, it);
|
||||
if (isEqual) {
|
||||
setSelected(it, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user