Browse Source

无JIRA任务 本来就是默认路径时起不来

research/10.0
ju 6 years ago
parent
commit
c9579cbb9b
  1. 13
      designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

13
designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

@ -483,19 +483,6 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
this.eastRegionContainerWidth = 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());
}
/** /**
* 返回默认环境 * 返回默认环境
*/ */

Loading…
Cancel
Save