From f19c3e5ff6da8c15d304166e78cb57e202cb5c91 Mon Sep 17 00:00:00 2001 From: Florian Ruschbaschan <46709526+floruschbaschan@users.noreply.github.com> Date: Tue, 8 Jun 2021 12:25:03 +0200 Subject: [PATCH] Remove wrong license header (#1127) Signed-off-by: Florian Ruschbaschan --- .../hawkbit/ui/menu/DashboardEvent.java | 12 +++------- .../hawkbit/ui/menu/DashboardMenu.java | 24 +++++++------------ 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardEvent.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardEvent.java index c379636ad..e2bfe63fd 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardEvent.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardEvent.java @@ -6,11 +6,6 @@ * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ -/* - * Licenses The source code is released under Apache 2.0. The application uses the Vaadin Charts 2 - * add-on, which is released under the Commercial Vaadin Addon License: - * https://vaadin.com/license/cval-3 - */ package org.eclipse.hawkbit.ui.menu; /* @@ -39,15 +34,14 @@ public final class DashboardEvent { */ public static PostViewChangeEvent createPostViewChangeEvent(final DashboardMenuItem view) { /* - * ( Added this method to resolve sonar issue ). Please remove this - * method in future. + * ( Added this method to resolve sonar issue ). Please remove this method in + * future. */ return new PostViewChangeEvent(view); } /** - * TenantAwareEvent to indicate that the current shown view has been - * changed. + * TenantAwareEvent to indicate that the current shown view has been changed. * * * diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardMenu.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardMenu.java index 9fbefacfc..b6616de11 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardMenu.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/menu/DashboardMenu.java @@ -6,11 +6,6 @@ * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ -/* - * Licenses The source code is released under Apache 2.0. The application uses the Vaadin Charts 2 - * add-on, which is released under the Commercial Vaadin Addon License: - * https://vaadin.com/license/cval-3 - */ package org.eclipse.hawkbit.ui.menu; import java.util.ArrayList; @@ -267,8 +262,8 @@ public final class DashboardMenu extends CustomComponent { } /** - * Creates the wrapper which contains the menu item and the adjacent label - * for displaying the occurred events + * Creates the wrapper which contains the menu item and the adjacent label for + * displaying the occurred events * * @param menuItemButton * the menu item @@ -294,8 +289,8 @@ public final class DashboardMenu extends CustomComponent { * Returns all views which are currently accessible by the current logged in * user. * - * @return a list of all views which are currently visible and accessible - * for the current logged in user + * @return a list of all views which are currently visible and accessible for + * the current logged in user */ private List getAccessibleViews() { return this.dashboardVaadinViews.stream() @@ -331,8 +326,8 @@ public final class DashboardMenu extends CustomComponent { } /** - * notifies the dashboard that the view has been changed and the button - * needs to be re-styled. + * notifies the dashboard that the view has been changed and the button needs to + * be re-styled. * * @param event * the post view change event @@ -346,8 +341,8 @@ public final class DashboardMenu extends CustomComponent { * * @param viewName * the name of the view to retrieve - * @return the dashboard view for a given viewname or {@code null} if view - * with given viewname does not exists + * @return the dashboard view for a given viewname or {@code null} if view with + * given viewname does not exists */ public DashboardMenuItem getByViewName(final String viewName) { @@ -393,8 +388,7 @@ public final class DashboardMenu extends CustomComponent { private final DashboardMenuItem view; /** - * creates a new button in case of pressed switches to the given - * {@code view}. + * creates a new button in case of pressed switches to the given {@code view}. * * @param view * the view to switch to in case the button is pressed