mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-24 18:17:53 +01:00
Fix ConcurrentModificationException in #673
This commit is contained in:
parent
91aa730673
commit
94b5d0d393
@ -36,7 +36,6 @@ public class GeoInfoMutator {
|
|||||||
if (geoInfo.isEmpty()) {
|
if (geoInfo.isEmpty()) {
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
}
|
}
|
||||||
geoInfo.sort(new GeoInfoComparator());
|
return geoInfo.stream().min(new GeoInfoComparator());
|
||||||
return Optional.of(geoInfo.get(0));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user