} else if (!Void.TYPE.equals(gatewayMethod.getReturnType()) || gatewayMethod.getExceptionTypes().length > 0) { dispatcher = wrapToWaitForResult(dispatcher); } else if (commandCallbacks.isEmpty() && !hasCallbackParameters(gatewayMethod)) {
} else if (!Void.TYPE.equals(gatewayMethod.getReturnType()) || gatewayMethod.getExceptionTypes().length > 0) { dispatcher = wrapToWaitForResult(dispatcher); } else if (commandCallbacks.isEmpty() && !hasCallbackParameters(gatewayMethod)) {
} else if (!Void.TYPE.equals(gatewayMethod.getReturnType()) || gatewayMethod.getExceptionTypes().length > 0) { dispatcher = wrapToWaitForResult(dispatcher); } else if (commandCallbacks.isEmpty() && !hasCallbackParameters(gatewayMethod)) {