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-08 17:45:37 +0200
commit9e3419722bd9a79a942c632582817b466cedd19d (patch)
tree661ff643d34d90ae8c993df1e55768b32823d73d
parent4f6ca6fb63f56d9db6499ca3c94c358b64e34035 (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) {