From 29f3c92e57a2de466f27d5aada19762daf273f7b Mon Sep 17 00:00:00 2001 From: HexToString <506181616@qq.com> Date: Tue, 19 Jan 2021 03:41:21 +0000 Subject: [PATCH] fix_java_bug --- java/examples/src/main/java/PipelineClientExample.java | 2 +- java/examples/src/main/java/StaticPipelineClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/examples/src/main/java/PipelineClientExample.java b/java/examples/src/main/java/PipelineClientExample.java index 1f459d82..378d2c0c 100644 --- a/java/examples/src/main/java/PipelineClientExample.java +++ b/java/examples/src/main/java/PipelineClientExample.java @@ -62,7 +62,7 @@ public class PipelineClientExample { return false; } } - PipelineFuture future = StaticPipelineClient.client.asyn_pr::qedict(feed_data, fetch,false,0); + PipelineFuture future = StaticPipelineClient.client.asyn_predict(feed_data, fetch,false,0); HashMap result = future.get(); if (result == null) { return false; diff --git a/java/examples/src/main/java/StaticPipelineClient.java b/java/examples/src/main/java/StaticPipelineClient.java index 7399b059..6a54ce2e 100644 --- a/java/examples/src/main/java/StaticPipelineClient.java +++ b/java/examples/src/main/java/StaticPipelineClient.java @@ -37,7 +37,7 @@ public class StaticPipelineClient { System.out.println("already connect."); return true; } - succ = clieint.connect(target); + succ = client.connect(target); if (succ != true) { System.out.println("connect failed."); return false; -- GitLab