From 8774c3733f6ce18a08a0687dcbe17ca4e77f99f5 Mon Sep 17 00:00:00 2001 From: "Link.Zhao" Date: Thu, 22 Sep 2022 22:11:41 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-75093=20=E8=BF=90=E8=90=A5=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=8C=96=E4=BA=8C=E6=9C=9F=20=E4=BF=AE=E6=94=B9pr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alphafine/download/FineMarketDownloadManager.java | 4 ++-- .../search/manager/impl/TemplateResourceSearchManager.java | 4 ++-- .../com/fr/market/key/FineMarketDefaultKeyProperties.java | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java index 947a369b7c..d683b3e9c9 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java @@ -125,7 +125,7 @@ public class FineMarketDownloadManager { /** * 下载失败 - * */ + */ public void downloadFailed() { downloadingToast.setVisible(false); showFailedToast(); @@ -133,7 +133,7 @@ public class FineMarketDownloadManager { /** * 下载成功 - * */ + */ public void downloadSuccess() { downloadingToast.setVisible(false); } diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java index 979288b2e0..60f8467597 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java @@ -29,7 +29,7 @@ public class TemplateResourceSearchManager { } public static final String LOCAL_RESOURCE_URL = "/com/fr/design/mainframe/alphafine/template_resource/local_templates.json"; - private static final FineMarketClientHelper helper = FineMarketClientHelper.getInstance(); + private static final FineMarketClientHelper HELPER = FineMarketClientHelper.getInstance(); /** @@ -40,7 +40,7 @@ public class TemplateResourceSearchManager { // 联网搜索 try { - JSONArray jsonArray = helper.getTemplateInfoByName(searchText); + JSONArray jsonArray = HELPER.getTemplateInfoByName(searchText); if (jsonArray != null && !jsonArray.isEmpty()) { resourceList.addAll(TemplateResource.createByJson(jsonArray)); } diff --git a/designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java b/designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java index 11204535cd..6365b14c74 100644 --- a/designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java +++ b/designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java @@ -32,6 +32,9 @@ public class FineMarketDefaultKeyProperties { load(); } + /** + * 构造方法 + */ public static FineMarketDefaultKeyProperties create(String propertyPath) { return new FineMarketDefaultKeyProperties(propertyPath); }