Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-11-07 23:16:04 +01:00
commit bd385da94e

View file

@ -545,8 +545,6 @@ public class MapPoiTypes {
public Amenity parseAmenity(String tag, String val, boolean relation, Map<String, String> otherTags) { public Amenity parseAmenity(String tag, String val, boolean relation, Map<String, String> otherTags) {
initPoiTypesByTag(); initPoiTypesByTag();
PoiType pt = poiTypesByTag.get(tag+"/"+val); PoiType pt = poiTypesByTag.get(tag+"/"+val);
if(pt == null) { if(pt == null) {
@ -586,7 +584,7 @@ public class MapPoiTypes {
while(it.hasNext()) { while(it.hasNext()) {
Entry<String, String> e = it.next(); Entry<String, String> e = it.next();
String otag = e.getKey(); String otag = e.getKey();
if(!otag.equals(tag)) { 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) {
pat = poiTypesByTag.get(otag); pat = poiTypesByTag.get(otag);