mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
Code format
This commit is contained in:
1 parent
ad921137a2
commit
3628be304f
1 file changed
+2
-4
+2
-4
@@ -24,15 +24,13 @@ public class GetLiveRacesForEventAction implements Action<ResultWithTTL<SortedSe
|
||||
@Override
|
||||
@GwtIncompatible
|
||||
public ResultWithTTL<SortedSetResult<LiveRaceDTO>> execute(final DispatchContext context) {
|
||||
ResultWithTTL<SortedSetResult<LiveRaceDTO>> result = EventActionUtil.withLiveRaceOrDefaultSchedule(context, eventId, new CalculationWithEvent<SortedSetResult<LiveRaceDTO>>() {
|
||||
return EventActionUtil.withLiveRaceOrDefaultSchedule(context, eventId, new CalculationWithEvent<SortedSetResult<LiveRaceDTO>>() {
|
||||
@Override
|
||||
public ResultWithTTL<SortedSetResult<LiveRaceDTO>> calculateWithEvent(Event event) {
|
||||
LiveRaceCalculator liveRaceCalculator = new LiveRaceCalculator();
|
||||
EventActionUtil.forRacesOfEvent(context, eventId, liveRaceCalculator);
|
||||
ResultWithTTL<SortedSetResult<LiveRaceDTO>> result = liveRaceCalculator.getResult();
|
||||
return result;
|
||||
return liveRaceCalculator.getResult();
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user