Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Finkbeiner2014-05-15 12:20:26 +0000
committerAndrew M. Finkbeiner2014-06-18 01:28:40 +0000
commit6986e1e77c497513c2905ca239134547b562b85d (patch)
tree0ecfe8291d0c34252d231326f36bf0f0a7ec5351
parentc69a44ed9ecc5a46b738c9865785b03b09d9a39d (diff)
downloadorg.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.java8
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

Back to the top