Browse Source

update

research/10.0
rinoux 6 years ago
parent
commit
381b5d9eed
  1. 3
      designer-base/src/main/java/com/fr/file/FileFILE.java

3
designer-base/src/main/java/com/fr/file/FileFILE.java

@ -194,11 +194,12 @@ public class FileFILE implements FILE {
* @return 输出流
*/
public OutputStream asOutputStream() {
if (file == null || !file.exists()) {
if (file == null) {
return null;
}
OutputStream out;
try {
StableUtils.makesureFileExist(file);
out = new FileOutputStream(file);
} catch (Exception e) {
throw SessionLocalManager.createLogPackedException(e);

Loading…
Cancel
Save