Skip to content
Browse files

remove useless code

  • Loading branch information...
1 parent 1a6ccc3 commit f0681e25fd92f690323360a10d0c528c483fd7d3 Kyle Giovannetti committed Apr 15, 2012
Showing with 0 additions and 18 deletions.
  1. +0 −18 src/org/contextfmm/ui/connection/Connect.java
View
18 src/org/contextfmm/ui/connection/Connect.java
@@ -25,7 +25,6 @@
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
-// http://java.sun.com/developer/technicalArticles/javase/swingworker/
public class Connect implements ActionListener, PropertyChangeListener {
@@ -74,7 +73,6 @@ public Void doInBackground() {
cancel(true);
return null;
} catch (IOException e) {
- // TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -106,12 +104,6 @@ public MMO connect() throws JSchException, UserCancelException, IOException {
throw new UserCancelException();
}
- /*
- * String host = JOptionPane.showInputDialog( "Enter username@hostname",
- * this.user + "@" + this.host); this.user = host.substring(0,
- * host.indexOf('@')); this.host = host.substring(host.indexOf('@') +
- * 1);
- */
this.session = jsch.getSession(this.options.getUser(), this.options.getHost(),
this.options.getPort());
@@ -159,17 +151,7 @@ public MMO connect() throws JSchException, UserCancelException, IOException {
return mmo;
}
- /*
- * @Override public void run() { try { this.connect(); this.parent.mmos =
- * this.mmos; this.parent.rebuildTree(); } catch (JSchException e) { // TODO
- * Auto-generated catch block e.printStackTrace(); } catch
- * (UserCancelException e) { // TODO Auto-generated catch block
- * e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated
- * catch block e.printStackTrace(); } // TODO Auto-generated method stub }
- */
-
public void actionPerformed(ActionEvent e) {
- // TODO Auto-generated method stub
parent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
task = new Task();
task.addPropertyChangeListener(this);

0 comments on commit f0681e2

Please sign in to comment.
Something went wrong with that request. Please try again.