diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-11-09 15:14:39 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-11-09 16:48:54 +0200 |
commit | 4a0cde8a8101fa62a2976f225c78deb1eaef27f8 (patch) | |
tree | 74b017f54362abb1f38579c970c607151fe214d6 | |
parent | 2faa45146cdfccc3a2b83397bc23a4ec48f534af (diff) | |
download | vaadin-framework-4a0cde8a8101fa62a2976f225c78deb1eaef27f8.tar.gz vaadin-framework-4a0cde8a8101fa62a2976f225c78deb1eaef27f8.zip |
Formatting changes
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java index 6787b36022..506f2d8eaf 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java @@ -361,7 +361,7 @@ public class ApplicationConfiguration implements EntryPoint { cmd.execute(); } callbacks.clear(); - } else if(widgetsLoading == 0 && deferredWidgetLoader != null) { + } else if (widgetsLoading == 0 && deferredWidgetLoader != null) { deferredWidgetLoader.trigger(); } @@ -377,17 +377,17 @@ public class ApplicationConfiguration implements EntryPoint { int communicationFree = 0; int nextWidgetIndex = 0; private boolean pending; - + public DeferredWidgetLoader() { schedule(5000); } public void trigger() { - if(!pending) { + if (!pending) { schedule(FREE_CHECK_TIMEOUT); } } - + @Override public void schedule(int delayMillis) { super.schedule(delayMillis); @@ -438,9 +438,9 @@ public class ApplicationConfiguration implements EntryPoint { return communicationFree < FREE_LIMIT; } } - + private static DeferredWidgetLoader deferredWidgetLoader; - + public void onModuleLoad() { // Enable IE6 Background image caching |