Fix compile warnings (#881)

This commit is contained in:
Emux
2021-10-10 17:42:35 +03:00
committed by GitHub
parent bb03b40075
commit f076544993
12 changed files with 16 additions and 28 deletions

View File

@@ -22,16 +22,7 @@ import com.wdtinc.mapbox_vector_tile.adapt.jts.MvtReader;
import com.wdtinc.mapbox_vector_tile.adapt.jts.TagKeyValueMapConverter;
import com.wdtinc.mapbox_vector_tile.adapt.jts.model.JtsLayer;
import com.wdtinc.mapbox_vector_tile.adapt.jts.model.JtsMvt;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.Geometry;
import org.locationtech.jts.geom.GeometryFactory;
import org.locationtech.jts.geom.LineString;
import org.locationtech.jts.geom.MultiLineString;
import org.locationtech.jts.geom.MultiPoint;
import org.locationtech.jts.geom.MultiPolygon;
import org.locationtech.jts.geom.Point;
import org.locationtech.jts.geom.Polygon;
import org.locationtech.jts.geom.*;
import org.oscim.core.MapElement;
import org.oscim.core.Tag;
import org.oscim.core.Tile;
@@ -63,6 +54,7 @@ public class TileDecoder implements ITileDecoder {
mMapElement.layer = 5;
}
@SuppressWarnings("unchecked")
@Override
public boolean decode(Tile tile, ITileDataSink sink, InputStream is)
throws IOException {