Skip to content

Commit 2e30a35

Browse files
committed
Drop serialVersionUID from AbstractPersistable.
Considering it's not serializable, there is no need to maintain serialVersionUID. See #2245.
1 parent 05cce6d commit 2e30a35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/main/java/org/springframework/data/jpa/domain/AbstractPersistable.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@
3333
* @author Oliver Gierke
3434
* @author Thomas Darimont
3535
* @author Mark Paluch
36+
* @author Greg Turnquist
3637
* @param <PK> the type of the identifier.
3738
*/
3839
@MappedSuperclass
3940
public abstract class AbstractPersistable<PK extends Serializable> implements Persistable<PK> {
4041

41-
private static final long serialVersionUID = -5554308939380869754L;
42-
4342
@Id @GeneratedValue private @Nullable PK id;
4443

4544
/*

0 commit comments

Comments
 (0)