Remove wrong license header (#1127)

Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io>
This commit is contained in:
Florian Ruschbaschan
2021-06-08 12:25:03 +02:00
committed by GitHub
parent afdaeca25a
commit f19c3e5ff6
2 changed files with 12 additions and 24 deletions

View File

@@ -6,11 +6,6 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html * 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; package org.eclipse.hawkbit.ui.menu;
/* /*
@@ -39,15 +34,14 @@ public final class DashboardEvent {
*/ */
public static PostViewChangeEvent createPostViewChangeEvent(final DashboardMenuItem view) { public static PostViewChangeEvent createPostViewChangeEvent(final DashboardMenuItem view) {
/* /*
* ( Added this method to resolve sonar issue ). Please remove this * ( Added this method to resolve sonar issue ). Please remove this method in
* method in future. * future.
*/ */
return new PostViewChangeEvent(view); return new PostViewChangeEvent(view);
} }
/** /**
* TenantAwareEvent to indicate that the current shown view has been * TenantAwareEvent to indicate that the current shown view has been changed.
* changed.
* *
* *
* *

View File

@@ -6,11 +6,6 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html * 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; package org.eclipse.hawkbit.ui.menu;
import java.util.ArrayList; 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 * Creates the wrapper which contains the menu item and the adjacent label for
* for displaying the occurred events * displaying the occurred events
* *
* @param menuItemButton * @param menuItemButton
* the menu item * 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 * Returns all views which are currently accessible by the current logged in
* user. * user.
* *
* @return a list of all views which are currently visible and accessible * @return a list of all views which are currently visible and accessible for
* for the current logged in user * the current logged in user
*/ */
private List<DashboardMenuItem> getAccessibleViews() { private List<DashboardMenuItem> getAccessibleViews() {
return this.dashboardVaadinViews.stream() 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 * notifies the dashboard that the view has been changed and the button needs to
* needs to be re-styled. * be re-styled.
* *
* @param event * @param event
* the post view change event * the post view change event
@@ -346,8 +341,8 @@ public final class DashboardMenu extends CustomComponent {
* *
* @param viewName * @param viewName
* the name of the view to retrieve * the name of the view to retrieve
* @return the dashboard view for a given viewname or {@code null} if view * @return the dashboard view for a given viewname or {@code null} if view with
* with given viewname does not exists * given viewname does not exists
*/ */
public DashboardMenuItem getByViewName(final String viewName) { public DashboardMenuItem getByViewName(final String viewName) {
@@ -393,8 +388,7 @@ public final class DashboardMenu extends CustomComponent {
private final DashboardMenuItem view; private final DashboardMenuItem view;
/** /**
* creates a new button in case of pressed switches to the given * creates a new button in case of pressed switches to the given {@code view}.
* {@code view}.
* *
* @param view * @param view
* the view to switch to in case the button is pressed * the view to switch to in case the button is pressed