added TODO for TrackedRegattaImpl.getTrackedRace(...) performance improvement

This commit is contained in:
Axel Uhl committed 2018-03-24 00:27:57 +01:00
1 parent 5f71d01ce0
commit d138f5ea17
1 file changed
+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();
}
}