BinaryInspector: not print IDs for postcodes

This commit is contained in:
Roman Inflianskas 2016-05-17 11:10:59 +03:00
parent 775b2124d5
commit 7997cfd234

View file

@ -635,10 +635,11 @@ public class BinaryInspector {
for (City c : cities) {
int size = index.preloadStreets(c, null);
List<Street> streets = new ArrayList<Street>(c.getStreets());
print(MessageFormat.format("\t\t''{0}'' [{1,number,#}], {2,number,#} street(s) size {3,number,#} bytes",
new Object[]{c.getName(lang), c.getId(), streets.size(), size}));
if(!verbose.vstreets)
{
String cityDescription = (j == BinaryMapAddressReaderAdapter.POSTCODES_TYPE ?
MessageFormat.format("\t\t''{0}'' {1,number,#} street(s) size {2,number,#} bytes", c.getName(lang), streets.size(), size) :
MessageFormat.format("\t\t''{0}'' [{1,number,#}], {2,number,#} street(s) size {3,number,#} bytes", c.getName(lang), c.getId(), streets.size(), size));
print(cityDescription);
if (!verbose.vstreets) {
println("");
continue;
}