Browse Source

无JIRA任务,去掉冗余代码(功能重复,且没有做国际化)

master
plough 7 years ago
parent
commit
b9b17af01f
  1. 12
      designer_base/src/com/fr/design/DesignerEnvManager.java

12
designer_base/src/com/fr/design/DesignerEnvManager.java

@ -1479,18 +1479,6 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
}
}
});
// xml读完之后,看一下nameEnvMap是不是长度为0
if (nameEnvMap.isEmpty() && StableUtils.getInstallHome() != null) {
String install_home = StableUtils.getInstallHome();
if (install_home != null && new java.io.File(install_home).exists()) {
nameEnvMap.put("Default", LocalEnv.createEnv(StableUtils.pathJoin(new String[]{
install_home, ProjectConstants.WEBAPP_NAME, ProjectConstants.WEBINF_NAME
})));
curEnvName = "Default";
}
}
}
private void readRecentOpenFileList(XMLableReader reader) {

Loading…
Cancel
Save