diff options
author | Vitaly Takmazov | 2016-11-12 20:15:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-12 20:15:36 +0300 |
commit | 2d9e3878f472743e326dcd82818f7adb94e6f769 (patch) | |
tree | afca15e81e65b4ba98b5326cbb01bf7205d82224 /juick-xmpp-ft/src/main/java | |
parent | 194a9a763c6b11d207e682b2f93de94475c473b4 (diff) |
cleanup
Diffstat (limited to 'juick-xmpp-ft/src/main/java')
-rw-r--r-- | juick-xmpp-ft/src/main/java/com/juick/components/XMPPFTServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-xmpp-ft/src/main/java/com/juick/components/XMPPFTServer.java b/juick-xmpp-ft/src/main/java/com/juick/components/XMPPFTServer.java index 99287562..93baba70 100644 --- a/juick-xmpp-ft/src/main/java/com/juick/components/XMPPFTServer.java +++ b/juick-xmpp-ft/src/main/java/com/juick/components/XMPPFTServer.java @@ -30,7 +30,7 @@ public class XMPPFTServer { private static final Logger logger = LoggerFactory.getLogger(XMPPFTServer.class); public XMPPFTServer(Environment env) { - @SuppressWarnings("unchecked") ExternalComponent component = ExternalComponent.create(env.getProperty("component_name", "files"), + ExternalComponent component = ExternalComponent.create(env.getProperty("component_name", "files"), env.getProperty("component_password", "secret"), env.getProperty("component_host", "localhost"), NumberUtils.toInt(env.getProperty("component_port", "5347"), 5347)); String tmpDir = env.getProperty("upload_tmp_dir", "/tmp"); |