From 1af285401cb612ea833d4abd844a504043bb0ebc Mon Sep 17 00:00:00 2001 From: Merlin Unterfinger Date: Tue, 17 Sep 2024 17:22:19 +0200 Subject: [PATCH 1/2] ORG: v0.5.1 - Bump patch version to 0.5.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 32b3f4ec..c9a31b45 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ ch.naviqore public-transit-service - 0.5.0 + 0.5.1 Public Transit Service From c188221847b71024e3eb6ebe6a95eb802b1a1463 Mon Sep 17 00:00:00 2001 From: Lukas Connolly Date: Tue, 17 Sep 2024 21:59:00 +0200 Subject: [PATCH 2/2] REFACTOR: Remove unused method in Query object. --- .../java/ch/naviqore/raptor/router/Query.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/java/ch/naviqore/raptor/router/Query.java b/src/main/java/ch/naviqore/raptor/router/Query.java index d811fbef..ebf36bb7 100644 --- a/src/main/java/ch/naviqore/raptor/router/Query.java +++ b/src/main/java/ch/naviqore/raptor/router/Query.java @@ -80,21 +80,6 @@ class Query { raptorConfig.getDaysToScan()); } - /** - * Check if there are any marked stops in the marked stops mask. - * - * @param markedStopsMask the marked stops mask to check. - * @return true if there are any marked stops, false otherwise. - */ - private static boolean hasMarkedStops(boolean[] markedStopsMask) { - for (boolean b : markedStopsMask) { - if (b) { - return true; - } - } - return false; - } - /** * Main control flow of the routing algorithm. Spawns from source stops, coordinates route scanning, footpath * relaxation, and time/label updates in the correct order.