From cd3a172bdba8e8cacef560d61faed577e73f2a70 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:26:54 -0300 Subject: [PATCH] refactor: remove unused method --- .../flowingcode/vaadin/addons/demo/EnhancedRouteTabs.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/demo/EnhancedRouteTabs.java b/src/main/java/com/flowingcode/vaadin/addons/demo/EnhancedRouteTabs.java index 36c3e5e..8f3b25c 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/demo/EnhancedRouteTabs.java +++ b/src/main/java/com/flowingcode/vaadin/addons/demo/EnhancedRouteTabs.java @@ -74,11 +74,7 @@ public void beforeEnter(BeforeEnterEvent event) { } } - public Map getRouterLinkTabMap() { - return routerLinkTabMap; - } - - public RouterLink getFirstRoute() { + private RouterLink getFirstRoute() { Optional first = routerLinkTabMap.entrySet().stream().map(Map.Entry::getKey).findFirst(); return first.isPresent() ? first.get() : null;