From 35432e6080c6e44ec1c306fd47e787e9aab314f7 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 20 Jan 2014 01:05:03 +0100 Subject: [PATCH] Clean binary inspector --- OsmAnd-java/src/net/osmand/binary/BinaryInspector.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java index db32e5ddc9..72fc920d3e 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java @@ -55,12 +55,16 @@ public class BinaryInspector { BinaryInspector in = new BinaryInspector(); in.inspector(args); // test cases show info - in.inspector(new String[]{ + if(args.length == 1 && "test".equals(args[0])) { + in.inspector(new String[]{ //"-vpoi", - "-vmap", "-vmapobjects", + // "-vmap", "-vmapobjects", //"-vstreets", //"-bbox=4,55,7,50", "/home/victor/projects/osmand/osm-gen/Map.obf"}); + } else { + in.inspector(args); + } } private void printToFile(String s) throws IOException {