Make some fields final

This commit is contained in:
Andreas Straub 2015-07-08 17:45:37 +02:00
parent 3458f5bb91
commit bd29653a20

View File

@ -453,11 +453,11 @@ public class AxolotlService {
} }
public static class XmppAxolotlSession { public static class XmppAxolotlSession {
private SessionCipher cipher; private final SessionCipher cipher;
private boolean isTrusted = false; private boolean isTrusted = false;
private Integer preKeyId = null; private Integer preKeyId = null;
private SQLiteAxolotlStore sqLiteAxolotlStore; private final SQLiteAxolotlStore sqLiteAxolotlStore;
private AxolotlAddress remoteAddress; private final AxolotlAddress remoteAddress;
private final Account account; private final Account account;
public XmppAxolotlSession(Account account, SQLiteAxolotlStore store, AxolotlAddress remoteAddress) { public XmppAxolotlSession(Account account, SQLiteAxolotlStore store, AxolotlAddress remoteAddress) {