No effective change - remove unused writer Method (left over from dynamic proxy support)

This commit is contained in:
rbygrave committed 2015-05-13 20:52:58 +12:00
1 parent 61ecf16978
commit cce2c2e28f
3 files changed
+5 -79

No files matched your search

@@ -219,34 +219,6 @@ public class DeployBeanDescriptor<T> {
return beanTable;
}
/**
* Check all the properties to see if they all have read and write methods
* (required if using "subclassing" but not for "enhancement").
*/
public boolean checkReadAndWriteMethods() {
boolean missingMethods = false;
for (DeployBeanProperty prop : propMap.values()) {
if (!prop.isTransient()) {
String m = "";
if (prop.getReadMethod() == null) {
m += " missing readMethod ";
}
if (prop.getWriteMethod() == null) {
m += " missing writeMethod ";
}
if (!"".equals(m)) {
m += ". Should it be transient?";
String msg = "Bean property " + getFullName() + "." + prop.getName() + " has " + m;
logger.error(msg);
missingMethods = true;
}
}
}
return !missingMethods;
}
public void setEntityType(EntityType entityType) {
this.entityType = entityType;
}
@@ -195,11 +195,6 @@ public class DeployBeanProperty {
*/
private Method readMethod;
/**
* The method used to write the property.
*/
private Method writeMethod;
private int propertyIndex;
private BeanPropertyGetter getter;
@@ -454,13 +449,6 @@ public class DeployBeanProperty {
return readMethod;
}
/**
* Return the setter method.
*/
public Method getWriteMethod() {
return writeMethod;
}
/**
* Set to the owning type form a Inheritance heirarchy.
*/
@@ -850,17 +838,6 @@ public class DeployBeanProperty {
this.readMethod = readMethod;
}
/**
* Set the bean write method.
* <p>
* NB: That a BeanReflectSetter is used to actually perform the setting of
* property values to a bean. This is due to performance considerations.
* </p>
*/
public void setWriteMethod(Method writeMethod) {
this.writeMethod = writeMethod;
}
/**
* Return the property type.
*/