summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-04-25 14:01:27 +0300
committerLeif Åstrand <leif@vaadin.com>2013-04-25 14:01:27 +0300
commit220b1150ca411a63009d7f30e0400dc062f10c27 (patch)
tree1b68d5ccf3dc2521caec0bb89fdb556d6742f69c /client
parent10b877bd1497dbc50e34f391134b9c1f86b683be (diff)
downloadvaadin-framework-220b1150ca411a63009d7f30e0400dc062f10c27.tar.gz
vaadin-framework-220b1150ca411a63009d7f30e0400dc062f10c27.zip
Global code clean up
Change-Id: I380d6afbc6b30d817ea6cca3d6b4634ab12522b1
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/communication/AtmospherePushConnection.java3
-rw-r--r--client/src/com/vaadin/client/ui/AbstractClickEventHandler.java5
-rw-r--r--client/src/com/vaadin/client/ui/VNativeButton.java6
-rw-r--r--client/src/com/vaadin/client/ui/VWindow.java3
4 files changed, 5 insertions, 12 deletions
diff --git a/client/src/com/vaadin/client/communication/AtmospherePushConnection.java b/client/src/com/vaadin/client/communication/AtmospherePushConnection.java
index d3321a41a7..ef5fc56347 100644
--- a/client/src/com/vaadin/client/communication/AtmospherePushConnection.java
+++ b/client/src/com/vaadin/client/communication/AtmospherePushConnection.java
@@ -246,8 +246,7 @@ public class AtmospherePushConnection implements PushConnection {
*
*/
protected void onError() {
- VConsole.error("Push connection using "
- + getConfig().getTransport()
+ VConsole.error("Push connection using " + getConfig().getTransport()
+ " failed!");
}
diff --git a/client/src/com/vaadin/client/ui/AbstractClickEventHandler.java b/client/src/com/vaadin/client/ui/AbstractClickEventHandler.java
index 2f97d30ece..e91abe9663 100644
--- a/client/src/com/vaadin/client/ui/AbstractClickEventHandler.java
+++ b/client/src/com/vaadin/client/ui/AbstractClickEventHandler.java
@@ -78,9 +78,8 @@ public abstract class AbstractClickEventHandler implements MouseDownHandler,
&& elementUnderMouse == lastMouseDownTarget) {
mouseUpPreviewMatched = true;
} else {
- VConsole.log("Ignoring mouseup from "
- + elementUnderMouse + " when mousedown was on "
- + lastMouseDownTarget);
+ VConsole.log("Ignoring mouseup from " + elementUnderMouse
+ + " when mousedown was on " + lastMouseDownTarget);
}
}
}
diff --git a/client/src/com/vaadin/client/ui/VNativeButton.java b/client/src/com/vaadin/client/ui/VNativeButton.java
index 6e1c5bae77..71413a76e6 100644
--- a/client/src/com/vaadin/client/ui/VNativeButton.java
+++ b/client/src/com/vaadin/client/ui/VNativeButton.java
@@ -16,14 +16,9 @@
package com.vaadin.client.ui;
-import com.google.gwt.core.client.Scheduler;
-import com.google.gwt.core.client.Scheduler.ScheduledCommand;
-import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.MouseEvent;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.Button;
@@ -31,7 +26,6 @@ import com.vaadin.client.ApplicationConnection;
import com.vaadin.client.BrowserInfo;
import com.vaadin.client.MouseEventDetailsBuilder;
import com.vaadin.client.Util;
-import com.vaadin.client.VConsole;
import com.vaadin.shared.MouseEventDetails;
import com.vaadin.shared.ui.button.ButtonServerRpc;
diff --git a/client/src/com/vaadin/client/ui/VWindow.java b/client/src/com/vaadin/client/ui/VWindow.java
index 084ce522c1..0ed5bd57bd 100644
--- a/client/src/com/vaadin/client/ui/VWindow.java
+++ b/client/src/com/vaadin/client/ui/VWindow.java
@@ -571,7 +571,8 @@ public class VWindow extends VOverlay implements ShortcutActionHandlerOwner,
}
}
- public void updateMaximizeRestoreClassName(boolean visible, WindowMode windowMode) {
+ public void updateMaximizeRestoreClassName(boolean visible,
+ WindowMode windowMode) {
String className;
if (windowMode == WindowMode.MAXIMIZED) {
className = CLASSNAME + "-restorebox";