Skip to content

Commit c3fa8af

Browse files
committed
minor fixes
1 parent 2af83a5 commit c3fa8af

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

core/src/main/java/com/graphhopper/routing/ch/PrepareContractionHierarchies.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class PrepareContractionHierarchies extends AbstractAlgoPreparation imple
5353
private final GraphHopperStorage ghStorage;
5454
private final CHGraphImpl prepareGraph;
5555
private final DataAccess originalEdges;
56-
final Map<Shortcut, Shortcut> shortcuts = new HashMap<Shortcut, Shortcut>();
56+
private final Map<Shortcut, Shortcut> shortcuts = new HashMap<Shortcut, Shortcut>();
5757
private final Random rand = new Random(123);
5858
private final StopWatch allSW = new StopWatch();
5959
AddShortcutHandler addScHandler = new AddShortcutHandler();

core/src/main/java/com/graphhopper/storage/CHGraphImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ public CHEdgeIteratorImpl(BaseGraph baseGraph, EdgeAccess edgeAccess, EdgeFilter
406406

407407
@Override
408408
public final long getFlags() {
409-
// checkShortcut(false, "getFlags");
409+
checkShortcut(false, "getFlags");
410410
return super.getDirectFlags();
411411
}
412412

core/src/test/java/com/graphhopper/routing/ch/PrepareContractionHierarchiesTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import com.graphhopper.storage.*;
3131
import com.graphhopper.util.*;
3232
import org.junit.Before;
33-
import org.junit.Ignore;
3433
import org.junit.Test;
3534

3635
import java.util.Arrays;

0 commit comments

Comments
 (0)