]> source.dussan.org Git - vaadin-framework.git/commitdiff
#5692 Generics: field factory data type can be anything
authorHenri Sara <henri.sara@itmill.com>
Mon, 4 Oct 2010 10:41:36 +0000 (10:41 +0000)
committerHenri Sara <henri.sara@itmill.com>
Mon, 4 Oct 2010 10:41:36 +0000 (10:41 +0000)
svn changeset:15341/svn branch:6.5

src/com/vaadin/ui/BaseFieldFactory.java
src/com/vaadin/ui/FieldFactory.java

index 50478f43103a98c6350a2bae9cd880f46a071ad5..73602700f5c8572fe331edc5f2f958395c3b8f5d 100644 (file)
@@ -40,7 +40,7 @@ public class BaseFieldFactory implements FieldFactory {
      * 
      * @see com.vaadin.ui.FieldFactory#createField(Class, Component)
      */
-    public Field createField(Class type, Component uiContext) {
+    public Field createField(Class<?> type, Component uiContext) {
         return DefaultFieldFactory.createFieldByPropertyType(type);
     }
 
index 0bdd30612f1ceb298336f22c2205d20f349b3c07..e8351e52ddf7a41ca9108340b7c70ce0c74e30e8 100644 (file)
@@ -30,7 +30,7 @@ public interface FieldFactory extends FormFieldFactory, TableFieldFactory {
      * @return Field the field suitable for editing the specified data.
      * 
      */
-    Field createField(Class type, Component uiContext);
+    Field createField(Class<?> type, Component uiContext);
 
     /**
      * Creates a field based on the property datasource.