Browse Source

KERNEL-6380 调整下接口调用

feature/big-screen
hades 4 years ago
parent
commit
11046865fc
  1. 2
      designer-base/src/main/java/com/fr/design/file/HistoryTemplateListCache.java

2
designer-base/src/main/java/com/fr/design/file/HistoryTemplateListCache.java

@ -472,7 +472,7 @@ public class HistoryTemplateListCache implements CallbackEvent {
FineLoggerFactory.getLogger().info("{} find plugin classloader spend: {} ms", name, (System.currentTimeMillis() - start)); FineLoggerFactory.getLogger().info("{} find plugin classloader spend: {} ms", name, (System.currentTimeMillis() - start));
if (set != null) { if (set != null) {
for (ClassLoader classLoader : set) { for (ClassLoader classLoader : set) {
if (PluginManager.isBeforeLoadBy(classLoader, pluginId)) { if (ComparatorUtils.equals(pluginId, PluginManager.findPluginId(classLoader))) {
return true; return true;
} }
} }

Loading…
Cancel
Save