Browse Source

Merge pull request #1731 in BA/design from ~RINOUX/design:feature/10.0 to feature/10.0

* commit 'edabcaffd588922c32c4464a0821aee3113f1045':
  无JIRA任务 重构
master
superman 7 years ago
parent
commit
bbe91653bd
  1. 7
      designer_base/src/com/fr/env/RemoteEnv.java

7
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -84,6 +84,7 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Level;
@ -2118,16 +2119,14 @@ public class RemoteEnv extends AbstractEnv {
ResourceIOUtils.write(zipFilePath, input);
ResourceIOUtils.unzip(zipFilePath, cacheDir, EncodeConstants.ENCODING_GBK);
List<String> files = ResourceIOUtils.listWithFullPath(cacheDir, new Filter<String>() {
return ResourceIOUtils.listWithFullPath(cacheDir, new Filter<String>() {
@Override
public boolean accept(String s) {
return s.endsWith(ProjectConstants.REU);
}
});
return files.toArray(new String[files.size()]);
} catch (Exception e) {
FRContext.getLogger().error(e.getMessage());
} finally {

Loading…
Cancel
Save