diff options
author | Vitaly Takmazov | 2016-07-06 18:48:28 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-06 18:48:28 +0300 |
commit | d48e3b71c27d6782a63dda84aced58780b54f309 (patch) | |
tree | 0139968c6c7f297a8e7ff9123df3490519c3367e /src/main/java/com/juick/xmpp/s2s/XMPPComponent.java | |
parent | 210690e7aefbd4d82e269277d621b5e6efc5c909 (diff) |
JdbcTemplate is thread-safe
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s/XMPPComponent.java')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/XMPPComponent.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java index 70f01553..bb736b5e 100644 --- a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java +++ b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java @@ -43,7 +43,6 @@ public class XMPPComponent implements ServletContextListener { static final List<ConnectionIn> inConnections = Collections.synchronizedList(new ArrayList<>()); static final List<ConnectionOut> outConnections = Collections.synchronizedList(new ArrayList<>()); static final List<CacheEntry> outCache = Collections.synchronizedList(new ArrayList<>()); - static final Integer sqlSync = 0; static JdbcTemplate sql; final public static HashMap<String, StanzaChild> childParsers = new HashMap<>(); |