summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-18 15:24:39 +0200
committerArtur Signell <artur@vaadin.com>2013-01-18 15:24:39 +0200
commit00bbb3c92f8f70196b0f818a83061e66058b8384 (patch)
tree9f6242f0a1e92d4bad5131e9f99bfd9ff3d45a68 /server
parentac00c704f168c99bd7f8c2897f14f9e80f2e95b3 (diff)
downloadvaadin-framework-00bbb3c92f8f70196b0f818a83061e66058b8384.tar.gz
vaadin-framework-00bbb3c92f8f70196b0f818a83061e66058b8384.zip
Clarified javadoc (#10765)
Change-Id: I31534903c07a07edc37a498ed5ee751180751fc8
Diffstat (limited to 'server')
-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