Skip to content

Commit

Permalink
Fix CHGraphImple#debugPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
easbar committed Oct 16, 2019
1 parent f7fdd62 commit 21442e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/com/graphhopper/storage/CHGraphImpl.java
Expand Up @@ -22,8 +22,6 @@
import com.graphhopper.routing.profiles.BooleanEncodedValue;
import com.graphhopper.routing.util.AllCHEdgesIterator;
import com.graphhopper.routing.util.EdgeFilter;
import com.graphhopper.routing.weighting.AbstractWeighting;
import com.graphhopper.routing.weighting.Weighting;
import com.graphhopper.storage.BaseGraph.AllEdgeIterator;
import com.graphhopper.storage.BaseGraph.EdgeIterable;
import com.graphhopper.util.*;
Expand Down Expand Up @@ -405,7 +403,7 @@ public void debugPrint() {
System.out.format(Locale.ROOT, " ... %d more nodes", baseGraph.getNodes() - printMax);
}
System.out.println("shortcuts:");
String formatShortcutsBase = "%12s | %12s | %12s | %12s | %12s | %12s | %12s | %12s | %12s";
String formatShortcutsBase = "%12s | %12s | %12s | %12s | %12s | %12s | %12s | %12s";
String formatShortcutExt = " | %12s | %12s";
String header = String.format(Locale.ROOT, formatShortcutsBase, "#", "E_NODEA", "E_NODEB", "E_LINKA", "E_LINKB", "E_DIST", "E_FLAGS", "S_SKIP_EDGE1", "S_SKIP_EDGE2");
if (chProfile.isEdgeBased()) {
Expand Down

0 comments on commit 21442e1

Please sign in to comment.