Add missing @PostConstruct

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
SirWayne
2016-04-05 12:23:26 +02:00
parent 044f0bef03
commit c47c29519d

View File

@@ -8,6 +8,7 @@
*/ */
package org.eclipse.hawkbit.ui.common.footer; package org.eclipse.hawkbit.ui.common.footer;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy; import javax.annotation.PreDestroy;
import org.eclipse.hawkbit.repository.SpPermissionChecker; import org.eclipse.hawkbit.repository.SpPermissionChecker;
@@ -41,9 +42,6 @@ import com.vaadin.ui.themes.ValoTheme;
/** /**
* Parent class for footer layout. * Parent class for footer layout.
* *
*
*
*
*/ */
public abstract class AbstractDeleteActionsLayout extends VerticalLayout implements DropHandler { public abstract class AbstractDeleteActionsLayout extends VerticalLayout implements DropHandler {
@@ -72,6 +70,7 @@ public abstract class AbstractDeleteActionsLayout extends VerticalLayout impleme
/** /**
* Initialize. * Initialize.
*/ */
@PostConstruct
protected void init() { protected void init() {
if (hasCountMessage() || hasDeletePermission() || hasUpdatePermission() || hasBulkUploadPermission()) { if (hasCountMessage() || hasDeletePermission() || hasUpdatePermission() || hasBulkUploadPermission()) {
createComponents(); createComponents();