Browse Source

不可变的list不能强转成ArrayList

master
CL 7 years ago
parent
commit
f98c49de2e
  1. 2
      designer_base/src/com/fr/design/data/DesignTableDataManager.java
  2. 2
      designer_base/src/com/fr/design/data/datapane/TableDataSourceOP.java

2
designer_base/src/com/fr/design/data/DesignTableDataManager.java

@ -241,7 +241,7 @@ public abstract class DesignTableDataManager {
boolean hasSchemaOrResult = false;
StoreProcedureParameter[] parameters = StoreProcedure.getSortPara(storeProcedure.getParameters());
String name = tableDataWrapper.getTableDataName();
ArrayList<String> resultNames = storeProcedure.getResultNames();
List<String> resultNames = storeProcedure.getResultNames();
TableDataWrapper tdw = new StoreProcedureNameWrapper(name + "_Table", storeProcedure);
for (StoreProcedureParameter parameter : parameters) {

2
designer_base/src/com/fr/design/data/datapane/TableDataSourceOP.java

@ -186,7 +186,7 @@ public class TableDataSourceOP implements UserObjectOP<TableDataWrapper> {
StoreProcedure storeProcedure = (StoreProcedure) tableData;
String name = ((NameObject) tmpNode.getUserObject()).getName();
StoreProcedureParameter[] parameters = StoreProcedure.getSortPara(storeProcedure.getParameters());
ArrayList<String> resultNames = storeProcedure.getResultNames();
List<String> resultNames = storeProcedure.getResultNames();
boolean hasChild = false;
tmpNode.remove(0);
TableDataWrapper tdw = new StoreProcedureNameWrapper(name + "_Table1", storeProcedure);

Loading…
Cancel
Save