Removed out commented code.

Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2016-03-02 10:20:47 +01:00
parent c221da7d64
commit 6f39769692

View File

@@ -77,16 +77,12 @@ public final class DashboardMenu extends CustomComponent {
private static final String STYLE_VISIBLE = "valo-menu-visible"; private static final String STYLE_VISIBLE = "valo-menu-visible";
// this should be resolved when we introduce event bus on UI to just inform // this should be resolved when we introduce event bus on UI to just inform
// the buttons directly // the buttons directly via events
// via events
private final List<ValoMenuItemButton> menuButtons = new ArrayList<>(); private final List<ValoMenuItemButton> menuButtons = new ArrayList<>();
@Autowired @Autowired
private transient PermissionService permissionService; private transient PermissionService permissionService;
// @Autowired
// private transient SPInfo spInfo;
@Autowired @Autowired
private final List<DashboardMenuItem> dashboardVaadinViews = new ArrayList<>(); private final List<DashboardMenuItem> dashboardVaadinViews = new ArrayList<>();
@@ -96,8 +92,8 @@ public final class DashboardMenu extends CustomComponent {
/** /**
* initializing the view and creating the layout, cannot be done in the * initializing the view and creating the layout, cannot be done in the
* custructor because the constructor will be called by spring and the * constructor because the constructor will be called by spring and the
* dashabord must be initialized when the dashboard UI is creating. * dashboard must be initialized when the dashboard UI is creating.
*/ */
public void init() { public void init() {
initialViewName = ""; initialViewName = "";