Removed unnecessary operation

This commit is contained in:
PaulStets 2018-03-01 14:23:51 +02:00
parent a9562035be
commit efade3626b

View file

@ -193,7 +193,6 @@ public class AmenityMenuController extends MenuController {
Map<String, String> addTypes = amenity.getAdditionalInfo(); Map<String, String> addTypes = amenity.getAdditionalInfo();
if (addTypes != null && addTypes.containsKey("subway_region")) { if (addTypes != null && addTypes.containsKey("subway_region")) {
String region = "subway_" + addTypes.get("subway_region"); String region = "subway_" + addTypes.get("subway_region");
amenity.setAdditionalInfo(addTypes);
if (RenderingIcons.containsBigIcon(region)) { if (RenderingIcons.containsBigIcon(region)) {
return RenderingIcons.getBigIcon(getMapActivity(), region); return RenderingIcons.getBigIcon(getMapActivity(), region);
} }