Skip to content

Commit dbacf70

Browse files
greenrobot-teamgreenrobot
authored andcommitted
Spotbugs: prevent SyncCredentials id field manipulation.
1 parent 2235b16 commit dbacf70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objectbox-java/src/main/java/io/objectbox/sync/SyncCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public enum CredentialsType {
4949

5050
GOOGLE(2);
5151

52-
public long id;
52+
public final long id;
5353

5454
CredentialsType(long id) {
5555
this.id = id;

0 commit comments

Comments
 (0)