Browse Source

REPORT-45895 war包部署 函数生成2份

feature/big-screen
Lanlan 4 years ago
parent
commit
125386cc2f
  1. 3
      designer-base/src/main/java/com/fr/design/gui/itree/filetree/EnvFileTree.java

3
designer-base/src/main/java/com/fr/design/gui/itree/filetree/EnvFileTree.java

@ -201,7 +201,8 @@ public class EnvFileTree extends RefreshableJTree {
if (filter != null) { if (filter != null) {
java.util.List<FileNode> tList = new ArrayList<FileNode>(); java.util.List<FileNode> tList = new ArrayList<FileNode>();
for (int i = 0; i < resFns.length; i++) { for (int i = 0; i < resFns.length; i++) {
if (filter.accept(resFns[i])) { // war包部署下会生成两份classes目录,需要去重一下
if (filter.accept(resFns[i]) && !tList.contains(resFns[i])) {
tList.add(resFns[i]); tList.add(resFns[i]);
} }
} }

Loading…
Cancel
Save