delete unnecessary code

This commit is contained in:
Nazar-Kutz 2020-10-01 11:13:02 +03:00
parent b01e72b00d
commit f24e491ebb
2 changed files with 1 additions and 10 deletions

View file

@ -100,15 +100,6 @@ public class ContextMenuAdapter {
return items.get(position); 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<ContextMenuItem> getItems() { public List<ContextMenuItem> getItems() {
return items; return items;
} }

View file

@ -334,7 +334,7 @@ public class RendererRegistry {
return currentSelectedRender; return currentSelectedRender;
} }
public void setCurrentSelectedRender(final RenderingRulesStorage currentSelectedRender) { public void setCurrentSelectedRender(RenderingRulesStorage currentSelectedRender) {
this.currentSelectedRender = currentSelectedRender; this.currentSelectedRender = currentSelectedRender;
} }