From c8ba8aac44b3cf9c6a15f4b39df80561c70567fc Mon Sep 17 00:00:00 2001 From: ivanPyrohivskyi Date: Tue, 24 Sep 2024 18:43:58 +0300 Subject: [PATCH] Refactoring --- OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java index ec1ee4b0185..2e90f7068ba 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java @@ -1608,7 +1608,7 @@ private PoiUIFilter getPoiFilterForType(String nearestPoiType) { return null; } - protected PoiUIFilter getPoiFilterForAmenity(Amenity amenity) { + private PoiUIFilter getPoiFilterForAmenity(Amenity amenity) { if (amenity != null) { PoiCategory category = amenity.getType(); PoiType poiType = category.getPoiTypeByKeyName(amenity.getSubType());