Skip to content

Commit

Permalink
suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoten committed Dec 14, 2017
1 parent d9a3669 commit 7a7857d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/github/davidmoten/rtree/RTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ private <T, S extends Geometry> RTree<T, S> packingSTR(List<? extends HasGeometr

List<Node<T, S>> nodes = new ArrayList<Node<T, S>>(nodeCount);
for (int s = 0; s < sliceCount; s++) {
@SuppressWarnings("rawtypes")
List slice = objects.subList(s * sliceCapacity, Math.min((s + 1) * sliceCapacity, objects.size()));
Collections.sort(slice, new MidComparator((short)1));

Expand Down

0 comments on commit 7a7857d

Please sign in to comment.