mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Notify listeners only if told to do so
This commit is contained in:
1 parent
45e64333de
commit
6b1dd68e10
1 file changed
+1
-1
+1
-1
@@ -100,7 +100,7 @@ extends TrackImpl<EventT> implements AbstractLog<EventT, VisitorT> {
|
||||
}
|
||||
if (isAdded) {
|
||||
logger.finer(String.format("%s (%s) was added to log %s.", event, event.getClass().getName(), getId()));
|
||||
onSuccessfulAdd(event, true);
|
||||
onSuccessfulAdd(event, notifyListeners);
|
||||
} else {
|
||||
logger.fine(String.format("%s (%s) was not added to race log %s because it already existed there.", event, event.getClass().getName(), getId()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user