Browse Source

无JIRA任务 代码质量

research/10.0
ju 6 years ago
parent
commit
5cedf5c7b9
  1. 2
      designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

2
designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

@ -28,7 +28,7 @@ public class DesignerWorkspaceProvider extends Activator {
String current = DesignerEnvManager.getEnvManager().getCurEnvName();
DesignerWorkspaceInfo workspaceInfo = DesignerEnvManager.getEnvManager().getWorkspaceInfo(current);
Workspace workspace = DesignerWorkspaceGenerator.generate(workspaceInfo);
boolean checkValid = workspace == null ? false : workspaceInfo.checkValid();
boolean checkValid = workspace != null && workspaceInfo.checkValid();
if (!checkValid) {
TemplatePane.getInstance().dealEvnExceptionWhenStartDesigner();
} else {

Loading…
Cancel
Save