Drop serialVersionUID from AbstractPersistable.
Considering it's not serializable, there is no need to maintain serialVersionUID. See #2245.
This commit is contained in:
@@ -33,13 +33,12 @@ import org.springframework.lang.Nullable;
|
||||
* @author Oliver Gierke
|
||||
* @author Thomas Darimont
|
||||
* @author Mark Paluch
|
||||
* @author Greg Turnquist
|
||||
* @param <PK> the type of the identifier.
|
||||
*/
|
||||
@MappedSuperclass
|
||||
public abstract class AbstractPersistable<PK extends Serializable> implements Persistable<PK> {
|
||||
|
||||
private static final long serialVersionUID = -5554308939380869754L;
|
||||
|
||||
@Id @GeneratedValue private @Nullable PK id;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user