diff options
author | Vitaly Takmazov | 2017-10-09 14:56:39 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-09 14:56:39 +0300 |
commit | c2a4c7c0ec6770963e53a85b943c3f5307f916f4 (patch) | |
tree | 8e261db7335106f6b19d09229454afb81dbd99b7 /juick-xmpp/src/main/java/com/juick | |
parent | 0c68eb43910b49669ace45de51aa2a4ea3d6f6f0 (diff) |
xmpp: fix NPE
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java b/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java index 86f276b4..7d3767a2 100644 --- a/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java +++ b/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java @@ -75,7 +75,7 @@ public class Connection { public Connection(XMPPServer xmpp) throws XmlPullParserException, KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException, UnrecoverableKeyException, KeyManagementException { this.xmpp = xmpp; - created = Instant.now(); + created = updated = Instant.now(); KeyStore ks = KeyStore.getInstance("JKS"); try (InputStream ksIs = new FileInputStream(xmpp.keystore)) { ks.load(ksIs, xmpp.keystorePassword.toCharArray()); |