From c9579cbb9b0d94342ebbffa900c0c2f731b25658 Mon Sep 17 00:00:00 2001 From: ju Date: Tue, 7 Aug 2018 14:37:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=9C=AC?= =?UTF-8?q?=E6=9D=A5=E5=B0=B1=E6=98=AF=E9=BB=98=E8=AE=A4=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=97=B6=E8=B5=B7=E4=B8=8D=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/DesignerEnvManager.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java b/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java index 973e301c95..31420316d9 100644 --- a/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java +++ b/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java @@ -482,20 +482,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter { public void setLastEastRegionContainerWidth(int eastRegionContainerWidth) { this.eastRegionContainerWidth = eastRegionContainerWidth; } - - - /** - * 判断当前环境是否为默认 - * - * @return 是默认则返回true - */ - public boolean isCurrentEnvDefault() { - - DesignerWorkspaceInfo current = this.getWorkspaceInfo(curEnvName); - String defaultEnvPath = getDefaultenvPath(StableUtils.getInstallHome()); - return ComparatorUtils.equals(defaultEnvPath, current.getPath()); - } - + /** * 返回默认环境 */