mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
added TODO for TrackedRegattaImpl.getTrackedRace(...) performance improvement
This commit is contained in:
1 parent
5f71d01ce0
commit
d138f5ea17
1 file changed
+1
-1
+1
-1
@@ -216,7 +216,7 @@ public class TrackedRegattaImpl implements TrackedRegatta {
|
||||
|
||||
@Override
|
||||
public void raceAdded(TrackedRace trackedRace) {
|
||||
synchronized (mutex) {
|
||||
synchronized (mutex) { // TODO possible improvement: only notify if trackedRace.getRace() == race; otherwise it cannot have made a difference for getExistingTrackedRace(race)...
|
||||
mutex.notifyAll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user