fixed method finding issues

This commit is contained in:
bancika
2011-08-28 16:23:35 +00:00
parent bd79ef2817
commit a0ae53d53c
@@ -49,7 +49,7 @@ public class PropertyWrapper implements Cloneable {
public void writeTo(Object object) throws IllegalArgumentException, IllegalAccessException, public void writeTo(Object object) throws IllegalArgumentException, IllegalAccessException,
InvocationTargetException, SecurityException, NoSuchMethodException { InvocationTargetException, SecurityException, NoSuchMethodException {
object.getClass().getMethod(setter, this.value.getClass()).invoke(object, this.value); object.getClass().getMethod(setter, type).invoke(object, this.value);
} }
public String getName() { public String getName() {