aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-08 17:45:37 +0200
committerAndreas Straub <andy@strb.org>2015-07-19 22:17:57 +0200
commitbd29653a20768039778f3cbf75609772fb16de4d (patch)
treea777a2b07361a737eb64af5bcca857c31c01df84
parent3458f5bb9182ca99dd800e4cde21168323260da4 (diff)
Make some fields final
-rw-r--r--src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
index 8ac69d37..664a248f 100644
--- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
+++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
@@ -453,11 +453,11 @@ public class AxolotlService {
}
public static class XmppAxolotlSession {
- private SessionCipher cipher;
+ private final SessionCipher cipher;
private boolean isTrusted = false;
private Integer preKeyId = null;
- private SQLiteAxolotlStore sqLiteAxolotlStore;
- private AxolotlAddress remoteAddress;
+ private final SQLiteAxolotlStore sqLiteAxolotlStore;
+ private final AxolotlAddress remoteAddress;
private final Account account;
public XmppAxolotlSession(Account account, SQLiteAxolotlStore store, AxolotlAddress remoteAddress) {