From 029bbd1ad3dd3ecbfe33f60ee628d3c9189b9ff8 Mon Sep 17 00:00:00 2001 From: Adam Lowe Date: Fri, 30 Sep 2011 20:45:59 +0100 Subject: [PATCH] Issue 694: Correcting imports --- .../compute/callable/RunScriptOnNodeUsingSshTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/compute/src/test/java/org/jclouds/compute/callable/RunScriptOnNodeUsingSshTest.java b/compute/src/test/java/org/jclouds/compute/callable/RunScriptOnNodeUsingSshTest.java index 368037235a..36e925a845 100644 --- a/compute/src/test/java/org/jclouds/compute/callable/RunScriptOnNodeUsingSshTest.java +++ b/compute/src/test/java/org/jclouds/compute/callable/RunScriptOnNodeUsingSshTest.java @@ -23,14 +23,12 @@ import org.jclouds.compute.callables.RunScriptOnNodeUsingSsh; import org.jclouds.compute.domain.ExecResponse; import org.jclouds.compute.domain.NodeMetadata; import org.jclouds.domain.Credentials; +import org.jclouds.javax.annotation.Nullable; import org.jclouds.scriptbuilder.statements.login.UserAdd; import org.jclouds.ssh.SshClient; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; -import javax.annotation.Nullable; -import java.io.IOException; - import static org.easymock.EasyMock.*; import static org.jclouds.compute.options.RunScriptOptions.Builder.wrapInInitScript; import static org.jclouds.scriptbuilder.domain.Statements.exec; @@ -95,7 +93,7 @@ public class RunScriptOnNodeUsingSshTest { testMe.call(); } - public void simpleRootTestWithSudoPassword() throws IOException { + public void simpleRootTestWithSudoPassword() { node = createMock(NodeMetadata.class); expect(node.getCredentials()).andReturn(new Credentials("tester", "notalot")); expect(node.getAdminPassword()).andReturn("testpassword!").atLeastOnce();