summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/DateField.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-04-26 16:10:38 +0000
committerArtur Signell <artur.signell@itmill.com>2011-04-26 16:10:38 +0000
commit2437bd812b8fbd46ee25d85a93f47cce546c42a7 (patch)
treece9cabd4f60c992386cf3eb2f5e9b0c4f24cef61 /src/com/vaadin/ui/DateField.java
parent96f2068af62353155cce230276011984ae68fb96 (diff)
downloadvaadin-framework-2437bd812b8fbd46ee25d85a93f47cce546c42a7.tar.gz
vaadin-framework-2437bd812b8fbd46ee25d85a93f47cce546c42a7.zip
#6407 Removed setInvalidAllowed(false) from DateField to be consistent with other fields and AbstractField declaration of default for invalidAllowed
svn changeset:18480/svn branch:6.6
Diffstat (limited to 'src/com/vaadin/ui/DateField.java')
-rw-r--r--src/com/vaadin/ui/DateField.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/vaadin/ui/DateField.java b/src/com/vaadin/ui/DateField.java
index c153bcc15a..eee26555f7 100644
--- a/src/com/vaadin/ui/DateField.java
+++ b/src/com/vaadin/ui/DateField.java
@@ -132,7 +132,6 @@ public class DateField extends AbstractField implements
* Constructs an empty <code>DateField</code> with no caption.
*/
public DateField() {
- setInvalidAllowed(false);
}
/**
@@ -143,7 +142,6 @@ public class DateField extends AbstractField implements
*/
public DateField(String caption) {
setCaption(caption);
- setInvalidAllowed(false);
}
/**
@@ -168,7 +166,6 @@ public class DateField extends AbstractField implements
* the Property to be edited with this editor.
*/
public DateField(Property dataSource) throws IllegalArgumentException {
- setInvalidAllowed(false);
if (!Date.class.isAssignableFrom(dataSource.getType())) {
throw new IllegalArgumentException("Can't use "
+ dataSource.getType().getName()
@@ -191,7 +188,6 @@ public class DateField extends AbstractField implements
* the Date value.
*/
public DateField(String caption, Date value) {
- setInvalidAllowed(false);
setValue(value);
setCaption(caption);
}