From 818f7d1cb8a92473f685144fed55facdc960697d Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 25 Aug 2016 15:16:17 +0300 Subject: Remove Property dependency from TextField Change-Id: I33ec7d1b8cb00617f67f383829bb7da083f1a7cd --- server/src/main/java/com/vaadin/ui/TextField.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/ui/TextField.java b/server/src/main/java/com/vaadin/ui/TextField.java index ccbba00f36..2f66b6edee 100644 --- a/server/src/main/java/com/vaadin/ui/TextField.java +++ b/server/src/main/java/com/vaadin/ui/TextField.java @@ -21,7 +21,6 @@ import org.jsoup.nodes.Element; import com.vaadin.ui.declarative.DesignAttributeHandler; import com.vaadin.ui.declarative.DesignContext; -import com.vaadin.v7.data.Property; /** * A component for editing textual data that fits on a single line. For a @@ -52,10 +51,7 @@ public class TextField extends AbstractTextField { /** * Constructs a new TextField with the given caption and - * initial text contents. The editor constructed this way will not be bound - * to a Property unless - * {@link com.vaadin.v7.data.Property.Viewer#setPropertyDataSource(Property)} - * is called to bind it. + * initial text contents. * * @param caption * the caption String for the editor. -- cgit v1.2.3