Refactor finding headers

This commit is contained in:
PavelRatushny 2017-11-23 16:25:51 +02:00
parent 409de505f6
commit 466c4b6745

View file

@ -149,7 +149,7 @@ public class OsmEditsAdapter extends ArrayAdapter<Object> {
int count = 0; int count = 0;
for (int i = 0; i < items.size(); i++) { for (int i = 0; i < items.size(); i++) {
Object item = items.get(i); Object item = items.get(i);
if (!(item instanceof OsmPoint)) { if (item instanceof Integer) {
count++; count++;
} }
} }