diff options
author | Andrew M. Finkbeiner | 2014-05-15 12:20:26 +0000 |
---|---|---|
committer | Andrew M. Finkbeiner | 2014-06-18 01:28:40 +0000 |
commit | 6986e1e77c497513c2905ca239134547b562b85d (patch) | |
tree | 0ecfe8291d0c34252d231326f36bf0f0a7ec5351 | |
parent | c69a44ed9ecc5a46b738c9865785b03b09d9a39d (diff) | |
download | org.eclipse.ote-OSEE_0.17_release.tar.gz org.eclipse.ote-OSEE_0.17_release.tar.xz org.eclipse.ote-OSEE_0.17_release.zip |
bug[ats_ATS47219]: Removed unnecessary exportOSEE_0.17_release
-rw-r--r-- | org.eclipse.ote.commands.server/src/org/eclipse/ote/commands/server/RunTestsCommand.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.ote.commands.server/src/org/eclipse/ote/commands/server/RunTestsCommand.java b/org.eclipse.ote.commands.server/src/org/eclipse/ote/commands/server/RunTestsCommand.java index a5d93e799..2e311ee07 100644 --- a/org.eclipse.ote.commands.server/src/org/eclipse/ote/commands/server/RunTestsCommand.java +++ b/org.eclipse.ote.commands.server/src/org/eclipse/ote/commands/server/RunTestsCommand.java @@ -7,7 +7,6 @@ import java.util.List; import java.util.UUID; import java.util.concurrent.Future; -import org.eclipse.osee.connection.service.IServiceConnector; import org.eclipse.osee.framework.jdk.core.type.IPropertyStore; import org.eclipse.osee.framework.logging.IHealthStatus; import org.eclipse.osee.ote.core.environment.TestEnvironment; @@ -52,12 +51,7 @@ class RunTestsCommand implements ITestServerCommand, Serializable { public ICommandHandle createCommandHandle(Future<ITestCommandResult> result, ITestContext context) throws ExportException { RunTestsHandle handle = new RunTestsHandle(result, context, this); handles.add(handle); - IServiceConnector connector = context.getConnector(); - ICommandHandle toReturn = (ICommandHandle) connector.findExport(handle); - if (toReturn == null) { - toReturn = (ICommandHandle) connector.export(handle); - } - return toReturn; + return handle; } @Override |