BinaryInspector: not print IDs for postcodes
This commit is contained in:
parent
775b2124d5
commit
7997cfd234
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue