Code smells fix

This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-23 23:40:01 +02:00
parent 3fc5d9bfcb
commit d63ec73127

View file

@ -5,11 +5,9 @@ import ch.usi.inf.sa4.sanmarinoes.smarthut.config.SocketGsonExclude;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;
import lombok.EqualsAndHashCode;
/** A device that can be turned either on or off */
@Entity
@EqualsAndHashCode(callSuper = false)
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class Switchable extends OutputDevice {
@ -23,7 +21,6 @@ public abstract class Switchable extends OutputDevice {
})
@GsonExclude
@SocketGsonExclude
@EqualsAndHashCode.Exclude
private Set<Switch> inputs = new HashSet<>();
protected Switchable(String kind) {