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:
Thomas Leplus
2021-09-16 21:59:51 -07:00
parent 056645ef88
commit 4b2ac6ad8e
2 changed files with 2 additions and 2 deletions
@@ -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