From c8d875bfcf1b040881e9c18282905a1ff805eb0c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 1 Feb 2016 22:17:33 +0300 Subject: refactoring --- src/main/java/com/juick/xmpp/s2s/ConnectionOut.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/juick/xmpp/s2s/ConnectionOut.java') diff --git a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java index c18ae342..c4334fed 100644 --- a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java +++ b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java @@ -18,7 +18,7 @@ import org.xmlpull.v1.XmlPullParserException; * * @author ugnich */ -public class ConnectionOut extends Connection implements Runnable { +public class ConnectionOut extends Connection { public boolean streamReady = false; public String to; @@ -37,8 +37,7 @@ public class ConnectionOut extends Connection implements Runnable { this.dbKey = dbKey; } - @Override - public void run() { + public void parseStream() { LOGGER.info("STREAM TO " + to + " START"); try { -- cgit v1.2.3