mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
eliminated redundant statement, avoiding warning
Change-Id: Ia31981d421996668c857c65c78a49fe984e15f3a
This commit is contained in:
-1
@@ -175,7 +175,6 @@ public class DijkstraTest {
|
||||
*/
|
||||
private ElementAdjacencyQualityMetric<Node> getEdgeQualitySupplier() {
|
||||
return (n1, n2) -> {
|
||||
final Pair<Node, Node> nodes = new Pair<>(n1, n2);
|
||||
final Double quality = edgeQuality.get(new Pair<>(n1, n2));
|
||||
return quality == null ? 1.0 : quality;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user