From d6deecf42b402d58bc64f038690666dade5bf0c8 Mon Sep 17 00:00:00 2001 From: Jack Klamer Date: Mon, 6 Aug 2018 16:27:41 -0700 Subject: [PATCH] Serialize (#189) --- .../utilities/collections/ShardBucketCollection.java | 2 +- .../utilities/collections/ShardBucketCollectionTest.java | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/atlas/utilities/collections/ShardBucketCollection.java b/src/main/java/org/openstreetmap/atlas/utilities/collections/ShardBucketCollection.java index a3f651323e..89cdd1f50c 100644 --- a/src/main/java/org/openstreetmap/atlas/utilities/collections/ShardBucketCollection.java +++ b/src/main/java/org/openstreetmap/atlas/utilities/collections/ShardBucketCollection.java @@ -42,7 +42,7 @@ public abstract class ShardBucketCollection() + .apply(multiPolygonSort); + Assert.assertTrue(multiPolygonSort.contains(firstShardMultiPolygon)); + Assert.assertTrue(multiPolygonSort.contains(secondShardMultiPolygon)); + // make a multipolygon with an outer for every shard and ensure they all get sorted into // their proper buckets multiPolygonSort.clear();