juhaoyu 7 years ago
parent
commit
2a5a2e1005
  1. 4
      designer_base/src/com/fr/design/extra/PluginHelper.java

4
designer_base/src/com/fr/design/extra/PluginHelper.java

@ -307,7 +307,7 @@ public class PluginHelper {
File[] files = file.listFiles();
if (ArrayUtils.isNotEmpty(files)) {
for (File f : files) {
if (foundConfigFile(f)) {
if (hasFoundConfigFile(f)) {
return f;
}
}
@ -316,7 +316,7 @@ public class PluginHelper {
return null;
}
private static boolean foundConfigFile(File dir) {
private static boolean hasFoundConfigFile(File dir) {
if (!dir.isDirectory()) {
return false;
}

Loading…
Cancel
Save