diff --git a/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java b/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java index 0842a1923e..7263f119bd 100644 --- a/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java +++ b/OsmAnd/src/net/osmand/plus/ContextMenuAdapter.java @@ -100,15 +100,6 @@ public class ContextMenuAdapter { return items.get(position); } - public ContextMenuItem getItemById(@NonNull String id) { - for (ContextMenuItem item : items) { - if (id.equals(item.getId())) { - return item; - } - } - return null; - } - public List getItems() { return items; } diff --git a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java index d382fa9882..3f8ed81ba7 100644 --- a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java +++ b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java @@ -334,7 +334,7 @@ public class RendererRegistry { return currentSelectedRender; } - public void setCurrentSelectedRender(final RenderingRulesStorage currentSelectedRender) { + public void setCurrentSelectedRender(RenderingRulesStorage currentSelectedRender) { this.currentSelectedRender = currentSelectedRender; }