Update BinaryInspector.java
This commit is contained in:
parent
98ddfe0025
commit
96e789ac5d
1 changed files with 12 additions and 2 deletions
|
@ -1023,8 +1023,18 @@ public class BinaryInspector {
|
|||
new ResultMatcher<Amenity>() {
|
||||
@Override
|
||||
public boolean publish(Amenity object) {
|
||||
println(object.getType().getKeyName() + " : " + object.getSubType() + " " + object.getName() + " " + object.getLocation() + " id=" + (object.getId() >> 1) + " " +
|
||||
object.getAdditionalInfo());
|
||||
Iterator<Entry<String, String>> it = object.getAdditionalInfo().entrySet().iterator();
|
||||
String s = "";
|
||||
while(it.hasNext()) {
|
||||
Entry<String, String> e = it.next();
|
||||
if(e.getValue().startsWith(" gz ")) {
|
||||
s += e.getKey() +"=...";
|
||||
} else {
|
||||
s += e.getKey() +"=" +e.getValue();
|
||||
}
|
||||
}
|
||||
|
||||
println(object.getType().getKeyName() + " : " + object.getSubType() + " " + object.getName() + " " + object.getLocation() + " id=" + (object.getId() >> 1) + " " + s);
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue