Browse Source

Pull request #4435: REPORT-51683 对象/classloader查找过滤缩略图 剪枝加速查找

Merge in DESIGN/design from ~HADES/design:feature/10.0 to feature/10.0

* commit '65b7aac0cb7f802ce92118b9bad927f61d9ba5b2':
  REPORT-51683 对象/classloader过滤缩略图 剪枝加速查找
feature/10.0
Hades 4 years ago
parent
commit
431c093e2f
  1. 3
      designer-base/src/main/java/com/fr/design/file/filter/ClassFilter.java
  2. 3
      designer-base/src/main/java/com/fr/design/mod/ModClassFilter.java

3
designer-base/src/main/java/com/fr/design/file/filter/ClassFilter.java

@ -5,6 +5,8 @@ import java.util.HashSet;
import java.util.Set;
/**
* classloader查找过滤器
*
* 过滤无需遍历的jdk class
*
* @author hades
@ -26,6 +28,7 @@ public class ClassFilter implements Filter<String> {
FILTER_SET.add("java.awt.image.BufferedImage");
FILTER_SET.add("sun.awt.AppContext");
FILTER_SET.add("com.fr.poly.creator.ECBlockCreator");
FILTER_SET.add("com.fr.form.ui.ElementCaseImage");
}
@Override

3
designer-base/src/main/java/com/fr/design/mod/ModClassFilter.java

@ -5,6 +5,8 @@ import java.util.HashSet;
import java.util.Set;
/**
* 联动修改的类过滤器
*
* @author hades
* @version 10.0
* Created by hades on 2021/5/31
@ -24,6 +26,7 @@ public class ModClassFilter implements Filter<String> {
FILTER_SET.add("sun.awt.AppContext");
FILTER_SET.add("com.fr.poly.creator.ECBlockCreator");
FILTER_SET.add("io.netty.channel.nio.SelectedSelectionKeySet");
FILTER_SET.add("com.fr.form.ui.ElementCaseImage");
}
@Override

Loading…
Cancel
Save