diff options
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/XMPPServer.java')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java index 7be2400a..a26389ea 100644 --- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java +++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java @@ -10,7 +10,6 @@ import org.apache.commons.lang3.math.NumberUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.env.Environment; -import org.springframework.jdbc.core.JdbcTemplate; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; @@ -44,13 +43,11 @@ public class XMPPServer implements AutoCloseable { private final List<ConnectionOut> outConnections = Collections.synchronizedList(new ArrayList<>()); private final List<CacheEntry> outCache = Collections.synchronizedList(new ArrayList<>()); - public JdbcTemplate jdbc; final public HashMap<String, StanzaChild> childParsers = new HashMap<>(); - public XMPPServer(Environment env, ExecutorService service, JdbcTemplate jdbc) { + public XMPPServer(Environment env, ExecutorService service) { this.service = service; - this.jdbc = jdbc; logger.info("component initialized"); try { |