aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-21 12:35:06 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-21 13:35:06 +0300
commite118f4d860adeaca1690ef095906ae6be84f3cb5 (patch)
tree142f8464009b5aeecdea59827ea5980a76932ad4 /compatibility-client
parenta166d6f52bf99d7616959f8e16b3972ed6b074d0 (diff)
downloadvaadin-framework-e118f4d860adeaca1690ef095906ae6be84f3cb5.tar.gz
vaadin-framework-e118f4d860adeaca1690ef095906ae6be84f3cb5.zip
Access static members in a static way (#10054)
Diffstat (limited to 'compatibility-client')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java
index 1c4932e6a4..8f0f9bf1b7 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/datefield/AbstractDateFieldConnector.java
@@ -108,7 +108,7 @@ public class AbstractDateFieldConnector extends AbstractFieldConnector
// Construct new date for this datefield (only if not null)
if (year > -1) {
- getWidget().setCurrentDate(new Date((long) getWidget().getTime(year,
+ getWidget().setCurrentDate(new Date((long) VDateField.getTime(year,
month, day, hour, min, sec, 0)));
} else {
getWidget().setCurrentDate(null);