]> source.dussan.org Git - vaadin-framework.git/commitdiff
Update datamodel-properties.asciidoc (#11223)
authorAnastasia Smirnova <anasmi@utu.fi>
Thu, 8 Nov 2018 11:10:38 +0000 (13:10 +0200)
committerOlli Tietäväinen <ollit@vaadin.com>
Thu, 8 Nov 2018 11:10:38 +0000 (13:10 +0200)
* Update datamodel-properties.asciidoc

Fixes : https://github.com/vaadin/framework/issues/11095

* Update datamodel-properties.asciidoc

Remove duplicate ```setConverterFactory```

documentation/datamodel/datamodel-properties.asciidoc

index ed7bb44c35d36f8754d37bf2f61eea3ee9e174a2..9d759a9f997d2f2ee8c738718b62c15ecd7839fc 100644 (file)
@@ -299,7 +299,7 @@ class MyConverterFactory extends DefaultConverterFactory {
 }
 
 // Use the factory globally in the application
-Application.getCurrentApplication().setConverterFactory(
+UI.getCurrent().getSession().setConverterFactory(
         new MyConverterFactory());
 ----