mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
Resolved TODOs
This commit is contained in:
1 parent
f930c73f58
commit
db71db0178
1 file changed
-3
-3
@@ -5443,8 +5443,6 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
dto.setHasMedia(!o.getPhotoGalleryImageURLs().isEmpty() || !o.getVideoURLs().isEmpty());
|
||||
dto.getLeaderboardGroups().addAll(o.getLeaderboardGroups());
|
||||
dto.setState(calculateEventState(o));
|
||||
|
||||
// TODO @Frank: is this correct
|
||||
dto.setHasAnalytics(EventState.RUNNING.compareTo(dto.getState()) <= 0);
|
||||
|
||||
if (o.isFakeSeries()) {
|
||||
@@ -5610,7 +5608,6 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
dto.setState(EventSeriesState.IN_PROGRESS);
|
||||
}
|
||||
|
||||
// TODO @Frank: is this correct
|
||||
dto.setHasAnalytics(oneEventStarted);
|
||||
return dto;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user