eliminated redundant statement, avoiding warning

Change-Id: Ia31981d421996668c857c65c78a49fe984e15f3a
This commit is contained in:
Axel Uhl
2019-07-15 09:19:13 +02:00
parent eb39573ce2
commit 22c1d85685
@@ -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;
};