From 1b09ebb041cb5e2c8c4114f53b1ee5eb88fd1274 Mon Sep 17 00:00:00 2001 From: Alex Yarmula Date: Wed, 17 Feb 2010 10:51:32 -0800 Subject: [PATCH] Cleaned up SshExecutor --- .../java/org/jclouds/tools/ebsresize/util/SshExecutor.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/aws/demos/resize-ebs/resize-ebs-java/src/main/java/org/jclouds/tools/ebsresize/util/SshExecutor.java b/aws/demos/resize-ebs/resize-ebs-java/src/main/java/org/jclouds/tools/ebsresize/util/SshExecutor.java index 9256e9afd8..5ef40bfeba 100644 --- a/aws/demos/resize-ebs/resize-ebs-java/src/main/java/org/jclouds/tools/ebsresize/util/SshExecutor.java +++ b/aws/demos/resize-ebs/resize-ebs-java/src/main/java/org/jclouds/tools/ebsresize/util/SshExecutor.java @@ -21,7 +21,6 @@ package org.jclouds.tools.ebsresize.util; import com.google.common.base.Predicate; import com.google.common.base.Predicates; -import org.jclouds.aws.ec2.domain.RunningInstance; import org.jclouds.compute.domain.NodeMetadata; import org.jclouds.compute.predicates.RunScriptRunning; import org.jclouds.compute.util.ComputeUtils; @@ -53,8 +52,6 @@ public class SshExecutor { 600, 3, TimeUnit.SECONDS); private final NodeMetadata nodeMetadata; - private final Credentials instanceCredentials; - private final String keyPair; private final SshClient sshClient; private final ComputeUtils utils; @@ -63,8 +60,6 @@ public class SshExecutor { String keyPair, InetSocketAddress socket) { this.nodeMetadata = nodeMetadata; - this.instanceCredentials = instanceCredentials; - this.keyPair = keyPair; this.sshClient = new JschSshClient(socket, 60000,