From d63ec73127775b8701ea78209c1a61b482546568 Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sat, 23 May 2020 23:40:01 +0200 Subject: [PATCH] Code smells fix --- .../ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java index b73d105..f2d2c44 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java @@ -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 inputs = new HashSet<>(); protected Switchable(String kind) {