From ffd212926ea357641b7de1668dd505be315816e8 Mon Sep 17 00:00:00 2001 From: ju Date: Sun, 17 Jun 2018 15:47:33 +0800 Subject: [PATCH] f --- designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java b/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java index 75a2dfab02..b13d810416 100644 --- a/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java +++ b/designer-base/src/com/fr/design/env/DesignerWorkspaceInfo.java @@ -79,7 +79,7 @@ public class DesignerWorkspaceInfo implements XMLable { if (reader.isAttr()) { this.name = reader.getAttrAsString("name", StringUtils.EMPTY); - this.type = DesignerWorkspaceType.valueOf(reader.getAttrAsString("name", "Local")); + this.type = DesignerWorkspaceType.valueOf(reader.getAttrAsString("type", "Local")); this.path = reader.getAttrAsString("path", StringUtils.EMPTY); } if (reader.isChildNode()) {