bug[ats_ATS47219]: Removed unnecessary export
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 a5d93e7..2e311ee 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.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 @@
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