From cc4994a9eb6feea66425bd927d98322045ac9a58 Mon Sep 17 00:00:00 2001 From: hugh Date: Thu, 11 May 2017 12:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B9=8B=E5=89=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=86=97=E4=BD=99=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/formula/FunctionConstants.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/designer_base/src/com/fr/design/formula/FunctionConstants.java b/designer_base/src/com/fr/design/formula/FunctionConstants.java index 43926e38b..8a0675897 100644 --- a/designer_base/src/com/fr/design/formula/FunctionConstants.java +++ b/designer_base/src/com/fr/design/formula/FunctionConstants.java @@ -34,16 +34,10 @@ public abstract class FunctionConstants { * @param listModel */ public static void addFunctionGroupFromPlugins(DefaultListModel listModel){ - //hugh:自定义函数分组,分组名不允许重复 + //hugh:自定义函数分组 Set containers = ExtraClassManager.getInstance().getArray(FunctionDefContainer.MARK_STRING); - List nameList = new ArrayList(); if(!containers.isEmpty()){ for(Mutable container : containers){ - String name = ((FunctionDefContainer)container).getGroupName(); - if(nameList.contains(name)){ - continue; - } - nameList.add(name); listModel.addElement(createFunctionGroup((FunctionDefContainer)container)); } }