diff options
author | Henri Sara <hesara@vaadin.com> | 2017-09-22 07:46:52 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-22 10:19:25 +0300 |
commit | a18842e2aeb2e3d073626617f24243f737eadb4f (patch) | |
tree | f83d4157110776587732e31d96e8c8c654e559e2 /compatibility-client/src | |
parent | 396b6859285e641f4b13df6fdcd3771778fb6e97 (diff) | |
download | vaadin-framework-a18842e2aeb2e3d073626617f24243f737eadb4f.tar.gz vaadin-framework-a18842e2aeb2e3d073626617f24243f737eadb4f.zip |
Replace tabs with spaces in Java files
Diffstat (limited to 'compatibility-client/src')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java | 12 | ||||
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/VDateField.java | 24 |
2 files changed, 18 insertions, 18 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java index 8f62fc7525..e657eeeed7 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java @@ -365,13 +365,13 @@ public class VCalendar extends Composite implements VHasDropHandler { */ private native void blockSelect(Element e) /*-{ - e.onselectstart = function() { - return false; - } + e.onselectstart = function() { + return false; + } - e.ondragstart = function() { - return false; - } + e.ondragstart = function() { + return false; + } }-*/; private void updateEventsToWeekGrid(CalendarEvent[] events) { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VDateField.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VDateField.java index 23ad279b66..5bb07f45ef 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VDateField.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VDateField.java @@ -99,19 +99,19 @@ public class VDateField extends FlowPanel implements Field, HasEnabled { int s, int ms) /*-{ try { - var date = new Date(2000,1,1,1); // don't use current date here - if(y && y >= 0) date.setFullYear(y); - if(m && m >= 1) date.setMonth(m-1); - if(d && d >= 0) date.setDate(d); - if(h >= 0) date.setHours(h); - if(mi >= 0) date.setMinutes(mi); - if(s >= 0) date.setSeconds(s); - if(ms >= 0) date.setMilliseconds(ms); - return date.getTime(); + var date = new Date(2000,1,1,1); // don't use current date here + if(y && y >= 0) date.setFullYear(y); + if(m && m >= 1) date.setMonth(m-1); + if(d && d >= 0) date.setDate(d); + if(h >= 0) date.setHours(h); + if(mi >= 0) date.setMinutes(mi); + if(s >= 0) date.setSeconds(s); + if(ms >= 0) date.setMilliseconds(ms); + return date.getTime(); } catch (e) { - // TODO print some error message on the console - //console.log(e); - return (new Date()).getTime(); + // TODO print some error message on the console + //console.log(e); + return (new Date()).getTime(); } }-*/; |