From 3fc5d9bfcb9c65f8deaea6e77a7cc83081da74ef Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sat, 23 May 2020 23:29:49 +0200 Subject: [PATCH] Code smells fix --- .../ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2f0f64e..b73d105 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 @@ -9,7 +9,7 @@ import lombok.EqualsAndHashCode; /** A device that can be turned either on or off */ @Entity -@EqualsAndHashCode(callSuper = true) +@EqualsAndHashCode(callSuper = false) @Inheritance(strategy = InheritanceType.JOINED) public abstract class Switchable extends OutputDevice {