Skip to content

Commit cec5ecf

Browse files
author
Vladimir Kotal
committed
use default serial ID
1 parent 7b6dc65 commit cec5ecf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/src/opengrok/auth/entity/LdapUser.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ public class LdapUser implements Serializable {
3939
private Set<String> ou;
4040
private final Map<String, Set<String>> attrs = new HashMap<>();
4141

42-
private static final long serialVersionUID = 1L;
42+
// Use default serial ID value. If the serialized form of the object
43+
// changes, feel free to start from 1L.
44+
private static final long serialVersionUID = -8207597677599370334L;
4345

4446
public LdapUser(String mail, String uid, Set<String> ou) {
4547
this.mail = mail;

0 commit comments

Comments
 (0)