diff --git a/src/main/java/it/unibz/inf/isochrone/db/Database.java b/src/main/java/it/unibz/inf/isochrone/db/Database.java index d2144e24263190403510740c9d29727e79ac9aa5..e334694bb1647aa5f491e0d91d480bfc770a0e08 100644 --- a/src/main/java/it/unibz/inf/isochrone/db/Database.java +++ b/src/main/java/it/unibz/inf/isochrone/db/Database.java @@ -617,6 +617,10 @@ public class Database { return new Link(linkId, start, end, routeId); } + @SuppressFBWarnings( + value = "UPM_UNCALLED_PRIVATE_METHOD", + justification = "Calling of this method is handeled by a boolean flag" + ) private Map<Node, Long> getAdjNodeCostByInQuery(final NodeConnection nConnection, final Collection<Integer> dateCodes, final long fromTime, final long toTime) { final Map<Node, Long> results = new LinkedHashMap<>(); final Node node = nConnection.getSourceNode(); @@ -661,6 +665,10 @@ public class Database { return results; } + @SuppressFBWarnings( + value = "UPM_UNCALLED_PRIVATE_METHOD", + justification = "Calling of this method is handeled by a boolean flag" + ) private Map<Node, Long> getAdjNodeCostByLoops(final NodeConnection nConnection, final Collection<Integer> dateCodes, final long fromTime, final long toTime) { final Node node = nConnection.getSourceNode(); final Set<Entry<Node, Collection<Link>>> entries = nConnection.getTargetEntries().entrySet();