From 1b3457623d521abcd13f19df15e405dcc6f849f5 Mon Sep 17 00:00:00 2001 From: bancika Date: Wed, 5 Jan 2011 19:42:18 +0000 Subject: [PATCH] warning fixed --- .../DIYLC/src/org/diylc/common/PropertyWrapper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/common/PropertyWrapper.java b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/common/PropertyWrapper.java index ea38d10b..0d943b4b 100644 --- a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/common/PropertyWrapper.java +++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/common/PropertyWrapper.java @@ -5,7 +5,6 @@ import java.lang.reflect.Method; import org.diylc.core.IDIYComponent; - /** * Entity class for editable properties extracted from component objects. * Represents a single editable property together with it's current value. @@ -31,7 +30,7 @@ public class PropertyWrapper implements Cloneable { this.defaultable = defaultable; } - public void readFrom(IDIYComponent component) throws IllegalArgumentException, + public void readFrom(IDIYComponent component) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { 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 { setter.invoke(component, value); }