warning fixed

This commit is contained in:
bancika
2011-01-05 19:42:18 +00:00
parent 7bd3245024
commit 1b3457623d
@@ -5,7 +5,6 @@ import java.lang.reflect.Method;
import org.diylc.core.IDIYComponent; import org.diylc.core.IDIYComponent;
/** /**
* Entity class for editable properties extracted from component objects. * Entity class for editable properties extracted from component objects.
* Represents a single editable property together with it's current value. * Represents a single editable property together with it's current value.
@@ -31,7 +30,7 @@ public class PropertyWrapper implements Cloneable {
this.defaultable = defaultable; this.defaultable = defaultable;
} }
public void readFrom(IDIYComponent component) throws IllegalArgumentException, public void readFrom(IDIYComponent<?> component) throws IllegalArgumentException,
IllegalAccessException, InvocationTargetException { IllegalAccessException, InvocationTargetException {
this.value = getter.invoke(component); this.value = getter.invoke(component);
} }
@@ -45,7 +44,7 @@ public class PropertyWrapper implements Cloneable {
// } // }
// } // }
public void writeTo(IDIYComponent component) throws IllegalArgumentException, public void writeTo(IDIYComponent<?> component) throws IllegalArgumentException,
IllegalAccessException, InvocationTargetException { IllegalAccessException, InvocationTargetException {
setter.invoke(component, value); setter.invoke(component, value);
} }