Merge "Removes catch on IOException as GeoidHeightMap#loadFromCacheAndDisk supports this type of throw."
This commit is contained in:
@@ -293,8 +293,6 @@ public final class GeoidHeightMap {
|
||||
try (InputStream is = context.getApplicationContext().getAssets().open(
|
||||
"geoid_height_map/tile-" + diskTokens[i] + ".pb")) {
|
||||
tile = S2TileProto.parseFrom(is.readAllBytes());
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
mergeFromDiskTile(params, tile, cacheKeys, diskTokens, i, loadedTiles);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user