Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2018-03-16 11:40:34 -0400
committerslewis2018-03-16 11:40:34 -0400
commit0f54d67f70879ec5c705036165547f25e3bad349 (patch)
tree51deb8f47bb83a4bf9ce6c3cd39f646790b76258 /framework/bundles
parentffa487aad2674b82ece557b99560b1d138fe3a33 (diff)
downloadorg.eclipse.ecf-0f54d67f70879ec5c705036165547f25e3bad349.tar.gz
org.eclipse.ecf-0f54d67f70879ec5c705036165547f25e3bad349.tar.xz
org.eclipse.ecf-0f54d67f70879ec5c705036165547f25e3bad349.zip
Additional fixes for bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=532205 Simplifications of AbstractRSAClientService Change-Id: I0000000000000000000000000000000000000000
Diffstat (limited to 'framework/bundles')
-rw-r--r--framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/AbstractRSAClientService.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/AbstractRSAClientService.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/AbstractRSAClientService.java
index 178121e4d..bf0d835cf 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/AbstractRSAClientService.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/AbstractRSAClientService.java
@@ -140,11 +140,9 @@ public abstract class AbstractRSAClientService extends AbstractClientService {
@Override
public void callAsync(IRemoteCall call, IRemoteCallListener listener) {
- if (call instanceof RSARemoteCall) {
- Callable<IRemoteCallCompleteEvent> c = createAsyncCallable((RSARemoteCall) call);
- if (c != null)
- callAsyncWithTimeout(call, c, listener);
- } else
+ if (call instanceof RSARemoteCall)
+ callAsyncWithTimeout(call, createAsyncCallable((RSARemoteCall) call), listener);
+ else
super.callAsync(call, listener);
}

Back to the top