refactoring
This commit is contained in:
parent
74ffdbeba5
commit
2ae5bb6301
1 changed files with 3 additions and 3 deletions
|
@ -915,9 +915,9 @@ public class MapPoiTypes {
|
||||||
if (!otag.equals(tag) && !otag.equals("name")) {
|
if (!otag.equals(tag) && !otag.equals("name")) {
|
||||||
PoiType pat = poiTypesByTag.get(otag + "/" + e.getValue());
|
PoiType pat = poiTypesByTag.get(otag + "/" + e.getValue());
|
||||||
if (pat == null) {
|
if (pat == null) {
|
||||||
for (String splValue : e.getValue().split(";")) {
|
for(String splValue : e.getValue().split(";")) {
|
||||||
PoiType ps = poiTypesByTag.get(otag + "/" + splValue.trim());
|
PoiType ps = poiTypesByTag.get(otag + "/" + splValue.trim());
|
||||||
if (ps != null) {
|
if(ps != null) {
|
||||||
a.setAdditionalInfo(ps.getKeyName(), splValue.trim());
|
a.setAdditionalInfo(ps.getKeyName(), splValue.trim());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue