From ca995f24850710c192eeea89b8c46a5c3e54988d Mon Sep 17 00:00:00 2001 From: AsquaredWsquared <76879959+AsquaredWsquared@users.noreply.github.com> Date: Sun, 4 Aug 2024 08:10:21 +0100 Subject: [PATCH] Fix lint warnings in TileUtils unit tests --- .../test/java/org/scottishtecharmy/soundscape/TileUtilsTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/test/java/org/scottishtecharmy/soundscape/TileUtilsTest.kt b/app/src/test/java/org/scottishtecharmy/soundscape/TileUtilsTest.kt index 5a72b3bd..3df0fc26 100644 --- a/app/src/test/java/org/scottishtecharmy/soundscape/TileUtilsTest.kt +++ b/app/src/test/java/org/scottishtecharmy/soundscape/TileUtilsTest.kt @@ -5,7 +5,6 @@ import org.scottishtecharmy.soundscape.geojsonparser.geojson.GeoMoshi import org.scottishtecharmy.soundscape.geojsonparser.geojson.LngLatAlt import org.scottishtecharmy.soundscape.geojsonparser.geojson.Point import org.scottishtecharmy.soundscape.geojsonparser.geojson.Polygon -import org.scottishtecharmy.soundscape.utils.Direction import org.scottishtecharmy.soundscape.utils.distanceToIntersection import org.scottishtecharmy.soundscape.utils.getBusStopsFeatureCollectionFromTileFeatureCollection import org.scottishtecharmy.soundscape.utils.getCombinedDirectionPolygons @@ -526,7 +525,7 @@ class TileUtilsTest { // Get the intersections from the tile val testIntersectionsCollectionFromTileFeatureCollection = getIntersectionsFeatureCollectionFromTileFeatureCollection( - featureCollectionTest!! + featureCollectionTest ) // create a FOV triangle to pick up the roads val fovRoadsFeatureCollection = getFovRoadsFeatureCollection(