added comment to RaceLogImpl

This commit is contained in:
Axel Uhl committed 2013-05-27 13:35:17 +02:00
1 parent f75d7d0bb4
commit 0d7e9cac7f
2 files changed
+6 -4

No files matched your search

@@ -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;
}
@@ -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";