diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-02-10 13:47:41 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-02-10 13:47:41 +0000 |
commit | 0f475900c4fa0fc60f3a399caf8500ea0ba4ef67 (patch) | |
tree | 4dc435ebefb784905d2de26032e2902f38df9777 /src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java | |
parent | 3780cb36d95961fbe5e32271dbfe6df04c75736d (diff) | |
download | jitsi-0f475900c4fa0fc60f3a399caf8500ea0ba4ef67.zip jitsi-0f475900c4fa0fc60f3a399caf8500ea0ba4ef67.tar.gz jitsi-0f475900c4fa0fc60f3a399caf8500ea0ba4ef67.tar.bz2 |
Removes unused fields, fixes raw-type warnings.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java index 981b64f..f493424 100644 --- a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java @@ -50,8 +50,8 @@ public class ProtocolProviderServiceSSHImpl * The test command given after each command to determine the reply length * of the command */ - private final String testCommand = - Resources.getString("testCommand"); + //private final String testCommand = + // Resources.getString("testCommand"); /** * A reference to the protocol provider of UIService @@ -237,9 +237,7 @@ public class ProtocolProviderServiceSSHImpl final Message firstMessage) { sshContact.setConnectionInProgress(true); - - final UIService uiService = this.uiService; - + final Thread newConnection = new Thread((new Runnable() { public void run() @@ -259,7 +257,7 @@ public class ProtocolProviderServiceSSHImpl createShellChannel(sshContact); - //initalizing the reader and writers of ssh contact + //initializing the reader and writers of ssh contact persistentPresence.changeContactPresenceStatus( sshContact, @@ -267,7 +265,7 @@ public class ProtocolProviderServiceSSHImpl showWelcomeMessage(sshContact); - sshContact.setMessageType(sshContact + sshContact.setMessageType(ContactSSH .CONVERSATION_MESSAGE_RECEIVED); sshContact.setConnectionInProgress(false); @@ -280,7 +278,7 @@ public class ProtocolProviderServiceSSHImpl sshContact, firstMessage); } - // rigoruos Exception Checking in future + // rigorous Exception Checking in future catch (Exception ex) { persistentPresence.changeContactPresenceStatus( |