This commit is contained in:
2023-06-21 15:39:43 +08:00
parent ad47b0a4b5
commit 42975464b1

View File

@@ -100,9 +100,7 @@ public class AMapServiceImpl implements AMapService {
List<AMapStationInfo> collect = stationInfos.parallelStream().map(x -> {
try {
return assembleAMapData(x);
} catch (ExecutionException e) {
throw new RuntimeException(e);
} catch (InterruptedException e) {
} catch (ExecutionException | InterruptedException e) {
throw new RuntimeException(e);
}
}).collect(Collectors.toList());