fix findbug

This commit is contained in:
baofengqi
2022-04-12 15:47:02 +08:00
parent 05338db7d9
commit 51fabd6407
@@ -32,9 +32,6 @@ public class ItemField extends ItemIdent {
private Field field;
/* if index!=-1, means the index of Item_field,need setField before val */
private int index = -1;
public ItemField(String dbName, String tableName, String fieldName, int charsetIndex) {
super(dbName, tableName, fieldName);
this.charsetIndex = charsetIndex;
@@ -49,16 +46,6 @@ public class ItemField extends ItemIdent {
setField(field);
}
/**
* save index
*
* @param index
*/
public ItemField(int index) {
super(null, "", "");
this.index = index;
}
protected void setField(Field field) {
this.field = field;
maybeNull = field.maybeNull();