Browse Source

Merge pull request #449 in DESIGN/design from ~NEIL/design-10:feature/10.0 to feature/10.0

* commit '010ebe46dd4e8654219c1ac4bc25dd815929adfc':
  放core里
  REPORT-10719 模板保存0kb, 支持集群
research/10.0
neil 6 years ago
parent
commit
5aac0795f9
  1. 4
      designer-base/src/main/java/com/fr/file/FileNodeFILE.java

4
designer-base/src/main/java/com/fr/file/FileNodeFILE.java

@ -14,7 +14,7 @@ import com.fr.stable.CoreConstants;
import com.fr.stable.StableUtils;
import com.fr.stable.project.ProjectConstants;
import com.fr.workspace.WorkContext;
import com.fr.workspace.resource.WorkResourceOutputStream;
import com.fr.workspace.resource.WorkResourceTempRenameStream;
import javax.swing.Icon;
import java.io.ByteArrayInputStream;
@ -381,7 +381,7 @@ public class FileNodeFILE implements FILE {
if (!envPath.startsWith(ProjectConstants.REPORTLETS_NAME)) {
return null;
}
return new WorkResourceOutputStream(envPath);
return new WorkResourceTempRenameStream(envPath);
}
/**

Loading…
Cancel
Save