No effective change - code cleanup - BeanProperty - remove unused defaultValue

This commit is contained in:
Robin Bygrave committed 2015-07-31 20:43:30 +12:00
1 parent 4ea68ebce4
commit 972609281f
2 files changed
+13 -107

No files matched your search

@@ -175,11 +175,6 @@ public class BeanProperty implements ElPropertyValue {
final boolean excludedFromHistory;
/**
* The default value to insert if null.
*/
final Object defaultValue;
/**
* Extra deployment parameters.
*/
@@ -295,16 +290,14 @@ public class BeanProperty implements ElPropertyValue {
this.formula = sqlFormulaSelect != null;
this.extraAttributeMap = deploy.getExtraAttributeMap();
this.defaultValue = deploy.getDefaultValue();
this.dbType = deploy.getDbType();
this.scalarType = deploy.getScalarType();
this.lob = isLobType(dbType);
this.propertyType = deploy.getPropertyType();
this.field = deploy.getField();
EntityType et = descriptor == null ? null : descriptor.getEntityType();
this.elPlaceHolder = tableAliasIntern(descriptor, deploy.getElPlaceHolder(et), false, null);
this.elPlaceHolderEncrypted = tableAliasIntern(descriptor, deploy.getElPlaceHolder(et), dbEncrypted, dbColumn);
this.elPlaceHolder = tableAliasIntern(descriptor, deploy.getElPlaceHolder(), false, null);
this.elPlaceHolderEncrypted = tableAliasIntern(descriptor, deploy.getElPlaceHolder(), dbEncrypted, dbColumn);
this.jsonSerialize = deploy.isJsonSerialize();
this.jsonDeserialize = deploy.isJsonDeserialize();
@@ -380,7 +373,6 @@ public class BeanProperty implements ElPropertyValue {
this.getter = source.getter;
this.setter = source.setter;
this.extraAttributeMap = source.extraAttributeMap;
this.defaultValue = source.getDefaultValue();
this.dbType = source.getDbType();
this.scalarType = source.scalarType;
this.lob = isLobType(dbType);
@@ -1066,13 +1058,6 @@ public class BeanProperty implements ElPropertyValue {
return embedded;
}
/**
* Return the default value.
*/
public Object getDefaultValue() {
return defaultValue;
}
public String toString() {
return name;
}