From 9bbe1311120a18f4fa8664ff792bdc2c744fab58 Mon Sep 17 00:00:00 2001 From: "Link.Zhao" Date: Tue, 14 Jun 2022 11:18:16 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"REPORT-70746=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=9A=84=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5916c1d49e3bb24421745a11699842a39d9551b9. --- .../java/com/fr/design/update/actions/NewFeatureAction.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java b/designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java index cf98501c12..ac7c01cd0f 100644 --- a/designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java +++ b/designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java @@ -1,7 +1,6 @@ package com.fr.design.update.actions; -import com.fr.design.utils.BrowseUtils; import com.fr.general.CloudCenter; import com.fr.log.FineLoggerFactory; @@ -22,7 +21,7 @@ public class NewFeatureAction implements ActionListener { @Override public void actionPerformed(ActionEvent e) { try { - BrowseUtils.browser(url); + Desktop.getDesktop().browse(new URI(url)); } catch (Exception ex) { FineLoggerFactory.getLogger().error(ex.getMessage()); }