Skip to content

Commit

Permalink
REFACTOR: Remove unused method in Query object.
Browse files Browse the repository at this point in the history
  • Loading branch information
clukas1 committed Sep 17, 2024
1 parent 1af2854 commit c188221
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/main/java/ch/naviqore/raptor/router/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c188221

Please sign in to comment.