summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2013-01-22 08:49:41 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-22 08:49:41 +0000
commit7f0aea16a216d3a01f18aa0d942fac8c88c52806 (patch)
tree40819b8b47241e2270622175cb7f6d928f173140 /server/src
parentc21d29f7b1168f23c4ff98f5dc9e9e65458b1a14 (diff)
parent00bbb3c92f8f70196b0f818a83061e66058b8384 (diff)
downloadvaadin-framework-7f0aea16a216d3a01f18aa0d942fac8c88c52806.tar.gz
vaadin-framework-7f0aea16a216d3a01f18aa0d942fac8c88c52806.zip
Merge "Clarified javadoc (#10765)"
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/data/validator/DoubleValidator.java7
-rw-r--r--server/src/com/vaadin/data/validator/IntegerValidator.java7
2 files changed, 12 insertions, 2 deletions
diff --git a/server/src/com/vaadin/data/validator/DoubleValidator.java b/server/src/com/vaadin/data/validator/DoubleValidator.java
index 86aa59381e..55093b6a40 100644
--- a/server/src/com/vaadin/data/validator/DoubleValidator.java
+++ b/server/src/com/vaadin/data/validator/DoubleValidator.java
@@ -15,6 +15,9 @@
*/
package com.vaadin.data.validator;
+import com.vaadin.data.Property;
+import com.vaadin.data.util.converter.StringToDoubleConverter;
+
/**
* String validator for a double precision floating point number. See
* {@link com.vaadin.data.validator.AbstractStringValidator} for more
@@ -22,7 +25,9 @@ package com.vaadin.data.validator;
*
* @author Vaadin Ltd.
* @since 5.4
- * @deprecated As of 7.0. Use an Double converter on the field instead.
+ * @deprecated As of 7.0. Use a {@link StringToDoubleConverter} converter on the
+ * field instead or bind the field to a {@link Property} of type
+ * {@link Double}.
*/
@Deprecated
@SuppressWarnings("serial")
diff --git a/server/src/com/vaadin/data/validator/IntegerValidator.java b/server/src/com/vaadin/data/validator/IntegerValidator.java
index c3ba699ef2..db2d510946 100644
--- a/server/src/com/vaadin/data/validator/IntegerValidator.java
+++ b/server/src/com/vaadin/data/validator/IntegerValidator.java
@@ -15,6 +15,9 @@
*/
package com.vaadin.data.validator;
+import com.vaadin.data.Property;
+import com.vaadin.data.util.converter.StringToIntegerConverter;
+
/**
* String validator for integers. See
* {@link com.vaadin.data.validator.AbstractStringValidator} for more
@@ -22,7 +25,9 @@ package com.vaadin.data.validator;
*
* @author Vaadin Ltd.
* @since 5.4
- * @deprecated As of 7.0. Use an Integer converter on the field instead.
+ * @deprecated As of 7.0. Use a {@link StringToIntegerConverter} converter on
+ * the field instead or bind the field to a {@link Property} of type
+ * {@link Integer}.
*/
@SuppressWarnings("serial")
@Deprecated