Browse Source

CHART-11090 代码质量

feature/big-screen
白岳 5 years ago
parent
commit
072977d0e5
  1. 3
      designer-chart/src/main/java/com/fr/design/chartx/component/MatchAreaTable.java

3
designer-chart/src/main/java/com/fr/design/chartx/component/MatchAreaTable.java

@ -1,6 +1,5 @@
package com.fr.design.chartx.component; package com.fr.design.chartx.component;
import com.fr.base.Utils;
import com.fr.design.gui.ilable.UILabel; import com.fr.design.gui.ilable.UILabel;
import com.fr.design.i18n.Toolkit; import com.fr.design.i18n.Toolkit;
import com.fr.general.GeneralUtils; import com.fr.general.GeneralUtils;
@ -81,7 +80,7 @@ public class MatchAreaTable extends JTable {
return; return;
} }
int index = areaNameIndex.get(areaName); int index = areaNameIndex.get(areaName);
String result = ChartGEOJSONHelper.matchArea(Utils.objectToString(areaName), items); String result = ChartGEOJSONHelper.matchArea(GeneralUtils.objectToString(areaName), items);
getColumnModel().getColumn(1).getCellEditor().stopCellEditing(); getColumnModel().getColumn(1).getCellEditor().stopCellEditing();
this.setValueAt(result, index, 1); this.setValueAt(result, index, 1);
} }

Loading…
Cancel
Save