diff options
author | 2016-07-06 19:15:38 +0300 | |
---|---|---|
committer | 2016-07-06 19:15:38 +0300 | |
commit | 152f36927fa373c619778ca84c2f9532cc3f561b (patch) | |
tree | a642145e2ff71c69497954ec4961bc2afc1dca74 /src/main/java | |
parent | 32b3acd9a2cd20ea51e1375756bd95583d7e3dd7 (diff) |
cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/XMPPComponent.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java index 2b75fef1..245038d4 100644 --- a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java +++ b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java @@ -180,8 +180,6 @@ public class XMPPComponent implements ServletContextListener { DriverManagerDataSource dataSource = new DriverManagerDataSource(); dataSource.setDriverClassName(conf.getProperty("datasource_driver", "com.mysql.jdbc.Driver")); dataSource.setUrl(conf.getProperty("datasource_url")); - DriverManagerDataSource dataSourceSearch = new DriverManagerDataSource(); - dataSourceSearch.setDriverClassName(conf.getProperty("datasource_driver", "com.mysql.jdbc.Driver")); sql = new JdbcTemplate(dataSource); childParsers.put(JuickMessage.XMLNS, new JuickMessage()); |