mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Setter not working
You need to use the this qualifier to reference the dbType field otherwise dbType references the method argument.
This commit is contained in:
@@ -67,7 +67,7 @@ public class SQLArrayDataType extends SQLObjectImpl implements SQLDataType {
|
||||
|
||||
@Override
|
||||
public void setDbType(DbType dbType) {
|
||||
dbType = dbType;
|
||||
this.dbType = dbType;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -73,7 +73,7 @@ public class SQLMapDataType extends SQLObjectImpl implements SQLDataType {
|
||||
|
||||
@Override
|
||||
public void setDbType(DbType dbType) {
|
||||
dbType = dbType;
|
||||
this.dbType = dbType;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user