From 876cba51802d8f7feb996fe2f74f8ff059d85b0b Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:36:11 -0300 Subject: [PATCH] deprecate: deprecate RouteTabs --- .../java/com/flowingcode/vaadin/addons/demo/RouteTabs.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/demo/RouteTabs.java b/src/main/java/com/flowingcode/vaadin/addons/demo/RouteTabs.java index 480280f..1631b36 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/demo/RouteTabs.java +++ b/src/main/java/com/flowingcode/vaadin/addons/demo/RouteTabs.java @@ -2,7 +2,7 @@ * #%L * Commons Demo * %% - * Copyright (C) 2020 - 2023 Flowing Code + * Copyright (C) 2020 - 2024 Flowing Code * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,10 @@ * Extension of Tabs in order to allow to bind tabs with Routes. * * @see https://cookbook.vaadin.com/tabs-with-routes/a + * @deprecated Deprecated for removal. Use {@link EnhancedRouteTabs} instead. */ +@SuppressWarnings("serial") +@Deprecated(forRemoval = true) public class RouteTabs extends Tabs implements BeforeEnterObserver { private final Map routerLinkTabMap = new LinkedHashMap<>();