From 5c244766431942a105d58f8ea0e1e0e4eba8ebe6 Mon Sep 17 00:00:00 2001
From: lemon <Zongyu.Wang@fanruan.com>
Date: Fri, 6 Sep 2024 16:00:27 +0800
Subject: [PATCH] =?UTF-8?q?REPORT-127437=20fix:=20=E5=8E=BB=E6=8E=89?=
 =?UTF-8?q?=E4=B8=8D=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../java/com/fine/theme/icon/IconManager.java | 23 -------------------
 1 file changed, 23 deletions(-)

diff --git a/designer-base/src/main/java/com/fine/theme/icon/IconManager.java b/designer-base/src/main/java/com/fine/theme/icon/IconManager.java
index 48f7660b2b..01f722e24b 100644
--- a/designer-base/src/main/java/com/fine/theme/icon/IconManager.java
+++ b/designer-base/src/main/java/com/fine/theme/icon/IconManager.java
@@ -6,7 +6,6 @@ import com.formdev.flatlaf.FlatLaf;
 import com.fr.base.extension.FileExtension;
 import com.fr.general.IOUtils;
 import com.fr.log.FineLoggerFactory;
-import com.fr.nx.app.web.out.widget.utils.CollectionUtils;
 import com.fr.third.errorprone.annotations.Immutable;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
@@ -167,28 +166,6 @@ public class IconManager {
         return id + "_" + dimension.width + "_" + dimension.height + "_" + type;
     }
 
-    /**
-     * 批量添加图标集
-     *
-     * @param sets 图标集
-     */
-    public static void addSet(@NotNull List<IconSet> sets) {
-        if (CollectionUtils.isEmpty(sets)) {
-            return;
-        }
-        sets.forEach(IconManager::addSet);
-    }
-
-    /**
-     * 删除指定 id 图标集
-     *
-     * @param id 图标集ID
-     */
-    public static void removeSet(@NotNull String id) {
-        ICON_SETS.removeIf(iconSet -> id.equals(iconSet.getId()));
-        clearCache();
-    }
-
     /**
      * 是否SVG图标格式
      *