diff --git a/designer-base/src/main/java/com/fr/design/formula/DefaultTinyFormulaPane.java b/designer-base/src/main/java/com/fr/design/formula/DefaultTinyFormulaPane.java index 8725a23669..5a106ea38c 100644 --- a/designer-base/src/main/java/com/fr/design/formula/DefaultTinyFormulaPane.java +++ b/designer-base/src/main/java/com/fr/design/formula/DefaultTinyFormulaPane.java @@ -1,7 +1,6 @@ package com.fr.design.formula; import com.fr.base.BaseFormula; -import com.fr.stable.StringUtils; /** * @author Carlson @@ -13,10 +12,6 @@ public class DefaultTinyFormulaPane extends TinyFormulaPane{ @Override protected void populateTextField(BaseFormula fm) { - if (fm.getContent().length() <= 1) { - formulaTextField.setText(StringUtils.EMPTY); - } else { - formulaTextField.setText(fm.getContent()); - } + formulaTextField.setText(fm.getContent()); } }