mirror of
https://github.com/actiontech/dble.git
synced 2026-05-01 12:00:35 -05:00
fix findbug
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user