Fix lombok compile warning
User.java:[23,1] Not generating hashCode: One of equals or hashCode
exists. You should either write both of these or none of these (in the
latter case, lombok generates them).
by not generating a toString method, which is already provided
Change-Id: Ib2005140f8099210f992c3f93cce96dcc3a5b4fb
diff --git a/full/Changes b/full/Changes
index b961e0d..40aef19 100644
--- a/full/Changes
+++ b/full/Changes
@@ -11,6 +11,7 @@
- Changed DB connection (fixed #670)
- Resolved duplicate libraries
- Fixed testing expiry access token
+- Fix lombok compile warning
# version 0.70.1
diff --git a/full/src/main/java/de/ids_mannheim/korap/user/User.java b/full/src/main/java/de/ids_mannheim/korap/user/User.java
index eb6cf53..902473a 100644
--- a/full/src/main/java/de/ids_mannheim/korap/user/User.java
+++ b/full/src/main/java/de/ids_mannheim/korap/user/User.java
@@ -1,14 +1,6 @@
package de.ids_mannheim.korap.user;
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import org.joda.time.DateTime;
-
import com.fasterxml.jackson.databind.JsonNode;
-
import de.ids_mannheim.korap.config.Attributes;
import de.ids_mannheim.korap.config.ParamFields;
import de.ids_mannheim.korap.exceptions.KustvaktException;
@@ -16,11 +8,19 @@
import de.ids_mannheim.korap.utils.TimeUtils;
import de.ids_mannheim.korap.web.utils.KustvaktMap;
import lombok.AccessLevel;
-import lombok.Data;
import lombok.Getter;
import lombok.Setter;
+import org.joda.time.DateTime;
-@Data
+import javax.persistence.Entity;
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@Getter
+@Setter
+@Entity
public abstract class User implements Serializable {
//EM: add