diff options
author | Henri Sara <henri.sara@itmill.com> | 2010-10-04 11:31:08 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2010-10-04 11:31:08 +0000 |
commit | 4c8803959737495f8f86ea754552d305a0405719 (patch) | |
tree | ca521730a0f955a9e68b99867f239580adb97eca /src/com/vaadin/ui/AbstractField.java | |
parent | 8f3cf3dfd5924800b78626d40abf8772e4978063 (diff) | |
download | vaadin-framework-4c8803959737495f8f86ea754552d305a0405719.tar.gz vaadin-framework-4c8803959737495f8f86ea754552d305a0405719.zip |
#5692 Generics: AbstractField, ComboBox, ListSelect, NativeSelect, OptionGroup and TwinColSelect (classes and collections of unknown type)
svn changeset:15346/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/AbstractField.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractField.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/AbstractField.java b/src/com/vaadin/ui/AbstractField.java index fb3065df99..4aa56a93f8 100644 --- a/src/com/vaadin/ui/AbstractField.java +++ b/src/com/vaadin/ui/AbstractField.java @@ -174,7 +174,7 @@ public abstract class AbstractField extends AbstractComponent implements Field, * Gets the field type Don't add a JavaDoc comment here, we use the default * documentation from the implemented interface. */ - public abstract Class getType(); + public abstract Class<?> getType(); /** * The abstract field is read only also if the data source is in read only @@ -1015,7 +1015,7 @@ public abstract class AbstractField extends AbstractComponent implements Field, * @param propertyType * the Type of the property, that needs to be edited. */ - public static AbstractField constructField(Class propertyType) { + public static AbstractField constructField(Class<?> propertyType) { // Null typed properties can not be edited if (propertyType == null) { |