Fix criticals sonar issues
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user