Browse Source

拼错了,改进下

master
richie 8 years ago
parent
commit
cdc5671737
  1. 8
      designer_chart/src/com/fr/design/mainframe/chart/ChartsConfigPane.java

8
designer_chart/src/com/fr/design/mainframe/chart/ChartsConfigPane.java

@ -16,6 +16,14 @@ public abstract class ChartsConfigPane <T extends Charts> extends AbstractChartA
public abstract Class<? extends Charts> acceptType(); public abstract Class<? extends Charts> acceptType();
/**
* 拼错了的方法暂时做下兼容后面就删掉
*/
@Deprecated
public Class<? extends Charts> accptType() {
return acceptType();
}
@Override @Override
public void populate(ChartCollection collection) { public void populate(ChartCollection collection) {
if (StableUtils.classInstanceOf(collection.getSelectedChart().getClass(), acceptType())) { if (StableUtils.classInstanceOf(collection.getSelectedChart().getClass(), acceptType())) {

Loading…
Cancel
Save