Fix ConcurrentModificationException
This commit is contained in:
parent
43ba5d203f
commit
49d346771c
1 changed files with 1 additions and 2 deletions
|
@ -203,8 +203,7 @@ public class MapPoiTypes {
|
||||||
|
|
||||||
public Map<String, PoiType> getAllTranslatedNames(boolean skipNonEditable) {
|
public Map<String, PoiType> getAllTranslatedNames(boolean skipNonEditable) {
|
||||||
Map<String, PoiType> translation = new HashMap<String, PoiType>();
|
Map<String, PoiType> translation = new HashMap<String, PoiType>();
|
||||||
for (int i = 0; i < categories.size(); i++) {
|
for (PoiCategory pc : categories) {
|
||||||
PoiCategory pc = categories.get(i);
|
|
||||||
if (skipNonEditable && pc.isNotEditableOsm()) {
|
if (skipNonEditable && pc.isNotEditableOsm()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue