mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
added comment to RaceLogImpl
This commit is contained in:
1 parent
f75d7d0bb4
commit
0d7e9cac7f
2 files changed
+6
-4
No files matched your search
-4
@@ -18,20 +18,16 @@ public class PathfinderFinder extends RaceLogAnalyzer {
|
||||
} finally {
|
||||
this.raceLog.unlockAfterRead();
|
||||
}
|
||||
|
||||
return pathfinderId;
|
||||
}
|
||||
|
||||
private String searchForPathfinderId() {
|
||||
String pathfinderId = null;
|
||||
|
||||
for (RaceLogEvent event : getPassEvents()) {
|
||||
if (event instanceof RaceLogPathfinderEvent) {
|
||||
pathfinderId = ((RaceLogPathfinderEvent) event).getPathfinderId();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return pathfinderId;
|
||||
}
|
||||
|
||||
|
||||
+6
@@ -16,6 +16,12 @@ import com.sap.sailing.domain.tracking.impl.PartialNavigableSetView;
|
||||
import com.sap.sailing.domain.tracking.impl.TrackImpl;
|
||||
import com.sap.sailing.util.impl.ArrayListNavigableSet;
|
||||
|
||||
/**
|
||||
* "Fix" validity is decided based on the {@link #getCurrentPassId() current pass}. The validity is not cached.
|
||||
*
|
||||
* @author Axel Uhl (d043530)
|
||||
*
|
||||
*/
|
||||
public class RaceLogImpl extends TrackImpl<RaceLogEvent> implements RaceLog {
|
||||
private static final long serialVersionUID = -176745401321893502L;
|
||||
private static final String DefaultLockName = RaceLogImpl.class.getName() + ".lock";
|
||||
|
||||
Reference in new issue
Block a user