Browse Source

REPORT-96808 屏蔽设计器系统信息面板中的jxbrowser相关参数

newui
Destiny.Lin 2 years ago
parent
commit
81bf0f081e
  1. 4
      designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java

4
designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java

@ -47,7 +47,7 @@ public class SystemInfoPane extends JPanel {
continue; continue;
} }
if(keyValue.indexOf("FineReport") != -1){ if(keyValue.contains("FineReport")){
keys[i] = keyValue.replaceAll("FineReport", ProductConstants.APP_NAME); keys[i] = keyValue.replaceAll("FineReport", ProductConstants.APP_NAME);
} }
@ -71,6 +71,6 @@ public class SystemInfoPane extends JPanel {
* @return 需要屏蔽则返回true * @return 需要屏蔽则返回true
*/ */
private boolean needToShield(String keyValue) { private boolean needToShield(String keyValue) {
return keyValue.indexOf("exe4j") != -1 || keyValue.indexOf("jxbrowser") != -1 || "install4j.exeDir".equals(keyValue); return keyValue.contains("exe4j") || keyValue.contains("jxbrowser") || "install4j.exeDir".equals(keyValue);
} }
} }
Loading…
Cancel
Save