Commit 4e1f8ce3 authored by mey's avatar mey
Browse files

DerivedFlowMap.java: removed obsolete constant NEUTRAL_WEIGHT

    already defined in super class
    replaced reference in test with super class
parent df544655
......@@ -36,9 +36,6 @@ abstract class DerivedFlowMap<T extends PathfindingMap> extends AbstractDerivedM
implements GridBackedFlowMap, ProvidesInspector {
private static final long serialVersionUID = 1L;
/** Neutral weight factor. */
static final double NEUTRAL_WEIGHT = 1d;
/** Grid containing a flow direction for every location. */
private final ObjectGrid2D flowMapGrid;
......
package de.zmt.pathfinding;
import static de.zmt.pathfinding.DerivedFlowMap.NEUTRAL_WEIGHT;
import static de.zmt.pathfinding.AbstractDerivedMap.NEUTRAL_WEIGHT;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment