From d13623f45829e492ee864b455771b12cd5554887 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Tue, 20 Sep 2022 10:07:05 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-75998=20=E4=BC=98=E5=8C=96=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../formula/widget/SearchWidgetFormulaAction.java | 12 +++++------- .../actions/replace/ui/ITReplaceNorthPanel.java | 6 +----- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/widget/SearchWidgetFormulaAction.java b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/widget/SearchWidgetFormulaAction.java index b82076a3d3..769d608382 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/widget/SearchWidgetFormulaAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/widget/SearchWidgetFormulaAction.java @@ -1,7 +1,6 @@ package com.fr.design.actions.replace.action.content.formula.widget; -import com.fr.base.BaseFormula; -import com.fr.base.Formula; + import com.fr.chart.chartattr.ChartCollection; import com.fr.design.actions.replace.action.content.component.SearchComponentAction; import com.fr.design.actions.replace.action.content.formula.chart.SearchChartCollectionFormulaAction; @@ -13,20 +12,19 @@ import com.fr.design.actions.replace.info.WidgetInfo; import com.fr.design.actions.replace.info.base.ITContent; import com.fr.design.actions.replace.utils.ShowValueUtils; import com.fr.design.mainframe.JTemplate; -import com.fr.design.mainframe.chart.gui.ChangeConfigPane; + import com.fr.form.main.Form; import com.fr.form.ui.ChartEditor; -import com.fr.form.ui.ElementCaseEditor; + import com.fr.form.ui.Label; import com.fr.form.ui.Widget; -import com.fr.form.ui.WidgetTitle; -import com.fr.form.ui.concept.data.ValueInitializer; + import com.fr.form.ui.container.WScaleLayout; import com.fr.form.ui.container.WTitleLayout; import com.fr.form.ui.widget.CRBoundsWidget; import com.fr.main.impl.WorkBook; -import com.fr.report.worksheet.FormElementCase; + import java.util.ArrayList; import java.util.List; diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceNorthPanel.java b/designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceNorthPanel.java index 0fea79f21e..ff5b3c8199 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceNorthPanel.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceNorthPanel.java @@ -97,11 +97,7 @@ public class ITReplaceNorthPanel { matchRadioButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - if (matchRadioButton.isSelected()) { - ITReplaceMainDialog.setMatched(true); - } else { - ITReplaceMainDialog.setMatched(false); - } + ITReplaceMainDialog.setMatched(matchRadioButton.isSelected()); } });