Fix criticals sonar issues

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
SirWayne
2016-08-05 10:51:11 +02:00
parent 54ce3ad8e0
commit 88e5bdf8f4
6 changed files with 57 additions and 102 deletions

View File

@@ -43,6 +43,9 @@ import com.vaadin.ui.themes.ValoTheme;
/**
* Abstract class for target/ds tag token layout.
*
* @param <T>
* the special entity
*/
public abstract class AbstractTagToken<T extends BaseEntity> implements Serializable {
@@ -75,6 +78,9 @@ public abstract class AbstractTagToken<T extends BaseEntity> implements Serializ
@Autowired
protected ManagementUIState managementUIState;
// BaseEntity implements Serializable so this entity is serializable. Maybe
// a sonar bug
@SuppressWarnings("squid:S1948")
protected T selectedEntity;
@PostConstruct