Fix sonar findings

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
kaizimmerm
2016-11-29 11:41:35 +01:00
parent 789dd8ffdc
commit dff41ef38f
6 changed files with 9 additions and 10 deletions

View File

@@ -9,7 +9,6 @@
package org.eclipse.hawkbit.ui.artifacts.smtable; package org.eclipse.hawkbit.ui.artifacts.smtable;
import org.eclipse.hawkbit.repository.EntityFactory; import org.eclipse.hawkbit.repository.EntityFactory;
import org.eclipse.hawkbit.repository.SoftwareManagement;
import org.eclipse.hawkbit.repository.SpPermissionChecker; import org.eclipse.hawkbit.repository.SpPermissionChecker;
import org.eclipse.hawkbit.ui.artifacts.event.SMFilterEvent; import org.eclipse.hawkbit.ui.artifacts.event.SMFilterEvent;
import org.eclipse.hawkbit.ui.artifacts.event.SoftwareModuleEvent; import org.eclipse.hawkbit.ui.artifacts.event.SoftwareModuleEvent;
@@ -38,8 +37,8 @@ public class SoftwareModuleTableHeader extends AbstractTableHeader {
private final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow; private final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow;
SoftwareModuleTableHeader(final I18N i18n, final SpPermissionChecker permChecker, final UIEventBus eventbus, SoftwareModuleTableHeader(final I18N i18n, final SpPermissionChecker permChecker, final UIEventBus eventbus,
final ArtifactUploadState artifactUploadState, final SoftwareManagement softwareManagement, final ArtifactUploadState artifactUploadState, final EntityFactory entityFactory,
final EntityFactory entityFactory, final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow) { final SoftwareModuleAddUpdateWindow softwareModuleAddUpdateWindow) {
super(i18n, permChecker, eventbus, null, null, artifactUploadState); super(i18n, permChecker, eventbus, null, null, artifactUploadState);
this.softwareModuleAddUpdateWindow = softwareModuleAddUpdateWindow; this.softwareModuleAddUpdateWindow = softwareModuleAddUpdateWindow;
} }

View File

@@ -57,7 +57,7 @@ public class DSDeleteActionsLayout extends AbstractDeleteActionsLayout {
Arrays.asList(DragEvent.DISTRIBUTION_TYPE_DRAG, DragEvent.DISTRIBUTION_DRAG, DragEvent.SOFTWAREMODULE_DRAG, Arrays.asList(DragEvent.DISTRIBUTION_TYPE_DRAG, DragEvent.DISTRIBUTION_DRAG, DragEvent.SOFTWAREMODULE_DRAG,
DragEvent.SOFTWAREMODULE_TYPE_DRAG)); DragEvent.SOFTWAREMODULE_TYPE_DRAG));
private final SystemManagement systemManagement; private final transient SystemManagement systemManagement;
private final ManageDistUIState manageDistUIState; private final ManageDistUIState manageDistUIState;

View File

@@ -54,11 +54,11 @@ public class AutoCompleteTextFieldComponent extends HorizontalLayout {
private final transient EventBus.UIEventBus eventBus; private final transient EventBus.UIEventBus eventBus;
private final RsqlValidationOracle rsqlValidationOracle; private final transient RsqlValidationOracle rsqlValidationOracle;
private final Executor executor; private final transient Executor executor;
private final List<FilterQueryChangeListener> listeners = new LinkedList<>(); private final transient List<FilterQueryChangeListener> listeners = new LinkedList<>();
private Label validationIcon; private Label validationIcon;
private TextField queryTextField; private TextField queryTextField;

View File

@@ -64,7 +64,7 @@ public final class DashboardMenu extends CustomComponent {
private final UiProperties uiProperties; private final UiProperties uiProperties;
private final HawkbitServerProperties serverProperties; private final transient HawkbitServerProperties serverProperties;
private static final long serialVersionUID = 5394474618559481462L; private static final long serialVersionUID = 5394474618559481462L;

View File

@@ -57,7 +57,7 @@ public class RolloutGroupListGrid extends AbstractGrid {
private static final String ROLLOUT_RENDERER_DATA = "rolloutRendererData"; private static final String ROLLOUT_RENDERER_DATA = "rolloutRendererData";
private final RolloutGroupManagement rolloutGroupManagement; private final transient RolloutGroupManagement rolloutGroupManagement;
private final RolloutUIState rolloutUIState; private final RolloutUIState rolloutUIState;

View File

@@ -51,7 +51,7 @@ public class RolloutGroupTargetsBeanQuery extends AbstractBeanQuery<ProxyTarget>
private transient RolloutUIState rolloutUIState; private transient RolloutUIState rolloutUIState;
private final Optional<RolloutGroup> rolloutGroup; private final transient Optional<RolloutGroup> rolloutGroup;
/** /**
* Parametric Constructor. * Parametric Constructor.