From 81bf0f081e55b361df5b7dfc18049c54f3e35d13 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Fri, 26 May 2023 11:28:06 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-96808=20=E5=B1=8F=E8=94=BD=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E5=99=A8=E7=B3=BB=E7=BB=9F=E4=BF=A1=E6=81=AF=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E4=B8=AD=E7=9A=84jxbrowser=E7=9B=B8=E5=85=B3=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/actions/help/SystemInfoPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java b/designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java index 4d76f52dab..8df91e7cc0 100644 --- a/designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java +++ b/designer-base/src/main/java/com/fr/design/actions/help/SystemInfoPane.java @@ -47,7 +47,7 @@ public class SystemInfoPane extends JPanel { continue; } - if(keyValue.indexOf("FineReport") != -1){ + if(keyValue.contains("FineReport")){ keys[i] = keyValue.replaceAll("FineReport", ProductConstants.APP_NAME); } @@ -71,6 +71,6 @@ public class SystemInfoPane extends JPanel { * @return 需要屏蔽则返回true */ 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); } } \ No newline at end of file