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>() {
|
new ResultMatcher<Amenity>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean publish(Amenity object) {
|
public boolean publish(Amenity object) {
|
||||||
println(object.getType().getKeyName() + " : " + object.getSubType() + " " + object.getName() + " " + object.getLocation() + " id=" + (object.getId() >> 1) + " " +
|
Iterator<Entry<String, String>> it = object.getAdditionalInfo().entrySet().iterator();
|
||||||
object.getAdditionalInfo());
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue