refactoring

This commit is contained in:
Dima-1 2021-01-29 13:45:09 +02:00
parent 74ffdbeba5
commit 2ae5bb6301

View file

@ -915,9 +915,9 @@ public class MapPoiTypes {
if (!otag.equals(tag) && !otag.equals("name")) {
PoiType pat = poiTypesByTag.get(otag + "/" + e.getValue());
if (pat == null) {
for (String splValue : e.getValue().split(";")) {
for(String splValue : e.getValue().split(";")) {
PoiType ps = poiTypesByTag.get(otag + "/" + splValue.trim());
if (ps != null) {
if(ps != null) {
a.setAdditionalInfo(ps.getKeyName(), splValue.trim());
}
}