mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 05:11:04 +00:00
update discarding thresholds only if new int[] really differs from existing thresholds;
this is to avoid unnecessary creation of ResultDiscardingThresholdImpl objects when name changes are probably the most frequent leaderboard changes
This commit is contained in:
1 parent
571b207acf
commit
0940ed90a0
3 files changed
+9
-22
No files matched your search
+1
-2
@@ -379,8 +379,7 @@ public class LeaderboardImpl implements Named, Leaderboard {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setResultDiscardingRule(ThresholdBasedResultDiscardingRule discardingRule)
|
||||
{
|
||||
public void setResultDiscardingRule(ThresholdBasedResultDiscardingRule discardingRule) {
|
||||
this.resultDiscardingRule = discardingRule;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user