diff options
author | Henri Sara <hesara@vaadin.com> | 2011-11-10 16:04:50 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2011-11-10 16:04:50 +0200 |
commit | 72d6c3cfb822badcf0463a99fd9a6c761bd22525 (patch) | |
tree | 3324c0fbe3292efd77772147fd1e4af37e0d85ee | |
parent | 87b98101e1d271f76d11ba20599a9a7697f7bd04 (diff) | |
download | vaadin-framework-72d6c3cfb822badcf0463a99fd9a6c761bd22525.tar.gz vaadin-framework-72d6c3cfb822badcf0463a99fd9a6c761bd22525.zip |
Change Form.addField() parameter from Field to Field<?>.
-rw-r--r-- | src/com/vaadin/ui/Form.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/Form.java b/src/com/vaadin/ui/Form.java index b00a34ad42..464ee3e60f 100644 --- a/src/com/vaadin/ui/Form.java +++ b/src/com/vaadin/ui/Form.java @@ -516,7 +516,7 @@ public class Form extends AbstractField<Object> implements Item.Editor, * @param field * the field which should be added to the form. */ - public void addField(Object propertyId, Field field) { + public void addField(Object propertyId, Field<?> field) { registerField(propertyId, field); attachField(propertyId, field); requestRepaint(); @@ -620,7 +620,7 @@ public class Form extends AbstractField<Object> implements Item.Editor, * @param propertyId * the id of the property. */ - public Field getField(Object propertyId) { + public Field<?> getField(Object propertyId) { return fields.get(propertyId); } |