diff options
author | Alexander Kurtakov | 2018-11-07 00:09:04 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-11-07 00:29:44 +0000 |
commit | 2d9f1bd43e15e2de202235f8cfd5c59d1948549a (patch) | |
tree | 4571a9dcb3d901446dc71ef471b8e21ec71e7861 | |
parent | 91c772df11626ac023f12000737b7898dface4a2 (diff) | |
download | rt.equinox.bundles-2d9f1bd43e15e2de202235f8cfd5c59d1948549a.tar.gz rt.equinox.bundles-2d9f1bd43e15e2de202235f8cfd5c59d1948549a.tar.xz rt.equinox.bundles-2d9f1bd43e15e2de202235f8cfd5c59d1948549a.zip |
Remove unused imports in ssh.tests.I20181107-0200
Change-Id: I7cd997569e84a30d684946b2d2ab7f945ef03293
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
3 files changed, 12 insertions, 20 deletions
diff --git a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/jaas/UserPrincipalTests.java b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/jaas/UserPrincipalTests.java index f4858106d..15f4275ff 100755 --- a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/jaas/UserPrincipalTests.java +++ b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/jaas/UserPrincipalTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 SAP AG + * Copyright (c) 2011, 2018 SAP AG and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -14,11 +14,12 @@ package org.eclipse.equinox.console.jaas; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; import java.util.Set; -import org.junit.BeforeClass; import org.junit.Test; public class UserPrincipalTests { diff --git a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java index 465b3efdc..63be2c46e 100755 --- a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java +++ b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 SAP AG + * Copyright (c) 2011, 2018 SAP AG and others * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -15,11 +15,9 @@ package org.eclipse.equinox.console.ssh; import java.io.ByteArrayOutputStream; import java.io.File; -import java.io.InputStream; import java.io.PrintStream; import java.io.PrintWriter; import java.io.StringBufferInputStream; -import java.util.Collection; import java.util.Dictionary; import java.util.HashMap; import java.util.Hashtable; @@ -27,11 +25,11 @@ import java.util.Map; import org.apache.felix.service.command.CommandProcessor; import org.apache.felix.service.command.CommandSession; -import org.apache.sshd.client.channel.ClientChannel; -import org.apache.sshd.client.session.ClientSession; import org.apache.sshd.client.SshClient; +import org.apache.sshd.client.channel.ClientChannel; import org.apache.sshd.client.future.ConnectFuture; import org.apache.sshd.client.future.DefaultConnectFuture; +import org.apache.sshd.client.session.ClientSession; import org.apache.sshd.common.RuntimeSshException; import org.apache.sshd.server.Environment; import org.easymock.EasyMock; @@ -43,15 +41,7 @@ import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; -import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; -import org.osgi.framework.BundleException; -import org.osgi.framework.BundleListener; -import org.osgi.framework.Filter; -import org.osgi.framework.FrameworkListener; -import org.osgi.framework.InvalidSyntaxException; -import org.osgi.framework.ServiceListener; -import org.osgi.framework.ServiceReference; import org.osgi.framework.ServiceRegistration; import org.osgi.service.cm.ManagedService; diff --git a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/storage/SecureUserStoreTests.java b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/storage/SecureUserStoreTests.java index e1b544031..d224991a6 100755 --- a/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/storage/SecureUserStoreTests.java +++ b/bundles/archived/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/storage/SecureUserStoreTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 SAP AG + * Copyright (c) 2011, 2018 SAP AG and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -14,15 +14,16 @@ package org.eclipse.equinox.console.storage; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; import java.io.File; import java.util.HashSet; import java.util.Set; -import org.eclipse.equinox.console.jaas.SecureStorageLoginModule; import org.junit.After; -import org.junit.Before; import org.junit.Test; public class SecureUserStoreTests { |