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)); } }