summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/DateField.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/DateField.java')
-rw-r--r--src/com/vaadin/ui/DateField.java20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/com/vaadin/ui/DateField.java b/src/com/vaadin/ui/DateField.java
index 4d83502f65..2daac4a613 100644
--- a/src/com/vaadin/ui/DateField.java
+++ b/src/com/vaadin/ui/DateField.java
@@ -479,7 +479,7 @@ public class DateField extends AbstractField<Date> implements
* @see com.vaadin.ui.AbstractField#setValue(java.lang.Object, boolean)
*/
@Override
- protected void setValue(Object newValue, boolean repaintIsNotNeeded)
+ protected void setValue(Date newValue, boolean repaintIsNotNeeded)
throws Property.ReadOnlyException, Property.ConversionException {
/*
@@ -564,24 +564,8 @@ public class DateField extends AbstractField<Date> implements
}
}
- /**
- * Sets the DateField datasource. Datasource type must assignable to Date.
- *
- * @see com.vaadin.data.Property.Viewer#setPropertyDataSource(Property)
- */
- @Override
- public void setPropertyDataSource(Property newDataSource) {
- if (newDataSource == null
- || Date.class.isAssignableFrom(newDataSource.getType())) {
- super.setPropertyDataSource(newDataSource);
- } else {
- throw new IllegalArgumentException(
- "DateField only supports Date properties");
- }
- }
-
@Override
- protected void setInternalValue(Object newValue) {
+ protected void setInternalValue(Date newValue) {
// Also set the internal dateString
if (newValue != null) {
dateString = newValue.toString();
ble27 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/settings/l10n/he.php
blob: b82e5a9b3e4a0505fbbf102fbd6bc271daf7e844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104