mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
Merge branch 'ubilabs--rcapp--bug-3570' into ubilabs--rcapp--develop
This commit is contained in:
commit
44bb552661
1 file changed
+3
-1
+3
-1
@@ -5,6 +5,7 @@ import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
@@ -103,7 +104,8 @@ public class OnlineDataManager extends DataManager {
|
||||
|
||||
public void addRaces(Collection<ManagedRace> data) {
|
||||
int index = 0;
|
||||
for (ManagedRace race : data) {
|
||||
Collection<ManagedRace> copy = new HashSet<>(data);
|
||||
for (ManagedRace race : copy) {
|
||||
dataStore.addRace(index++, race);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user