From 4333a6ee18fbf88ef0ba4a0dc62d0b414b4cd3e8 Mon Sep 17 00:00:00 2001 From: Harrison Date: Thu, 11 Jan 2024 12:27:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20REPORT-113117=E3=80=90=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E5=8F=98=E6=9B=B4=E3=80=91=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=A4=B1=E8=B4=A5=E6=97=B6=EF=BC=8C=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E5=99=A8=E5=BC=B9=E7=AA=97=E4=BE=9D=E7=84=B6=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=93=BE=E6=8E=A5=E6=88=90=E5=8A=9F=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=8E=B7=E5=8F=96=E5=AF=B9=E8=B1=A1=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82=E9=9C=80=E8=A6=81=E6=8D=A2?= =?UTF-8?q?=E6=88=90=20FineWorkspaceStubPool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/env/RemoteWorkspace.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java b/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java index 565dd14c89..c49b5994e2 100644 --- a/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java +++ b/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java @@ -12,7 +12,7 @@ import com.fr.workspace.Workspace; import com.fr.workspace.connect.WorkspaceClient; import com.fr.workspace.connect.WorkspaceConnection; import com.fr.workspace.connect.WorkspaceConnectionInfo; -import com.fr.workspace.engine.rpc.WorkspaceProxyPool; +import com.fr.workspace.engine.client.FineWorkspaceStubPool; import com.fr.workspace.pool.WorkObjectPool; import com.fr.workspace.server.authority.decision.DecisionOperator; @@ -125,8 +125,8 @@ public class RemoteWorkspace implements Workspace { public T get(Class type, ExceptionHandler exceptionHandler){ if(exceptionHandler != null) { WorkObjectPool objectPool = client.getPool(); - if (objectPool instanceof WorkspaceProxyPool) { - return ((WorkspaceProxyPool) objectPool).get(type, exceptionHandler); + if (objectPool instanceof FineWorkspaceStubPool) { + return objectPool.get(type, exceptionHandler); }else { return client.getPool().get(type); }