Skip to content

Commit

Permalink
refactor: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy committed Jun 12, 2024
1 parent 45dfc9b commit cd3a172
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ public void beforeEnter(BeforeEnterEvent event) {
}
}

public Map<RouterLink, Tab> getRouterLinkTabMap() {
return routerLinkTabMap;
}

public RouterLink getFirstRoute() {
private RouterLink getFirstRoute() {
Optional<RouterLink> first =
routerLinkTabMap.entrySet().stream().map(Map.Entry::getKey).findFirst();
return first.isPresent() ? first.get() : null;
Expand Down

0 comments on commit cd3a172

Please sign in to comment.