From 01588824814413c5847a89093bc28e207a5ea64a Mon Sep 17 00:00:00 2001 From: hades Date: Fri, 7 May 2021 10:59:44 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-51843=20=E8=BF=9C=E7=A8=8B=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1-=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E8=AE=BE=E8=AE=A1=E5=99=A8=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=9B=AE=E5=BD=95=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E7=A1=AE=E5=AE=9A=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/env/RemoteWorkspace.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 6d1685e74..b8f816650 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 @@ -127,7 +127,9 @@ public class RemoteWorkspace implements Workspace { @Override public boolean equals(Object obj) { - return obj instanceof RemoteWorkspace && AssistUtils.equals(((RemoteWorkspace) obj).connection, this.connection); + return obj instanceof RemoteWorkspace + && AssistUtils.equals(((RemoteWorkspace) obj).connection, this.connection) + && AssistUtils.equals(((RemoteWorkspace) obj).client.getConnection(), this.client.getConnection()); } public WorkspaceClient getClient(){