summaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-01-09 14:34:45 +0200
committerLeif Åstrand <leif@vaadin.com>2015-01-09 19:10:58 +0200
commitbf8836bb561e834b8a58bc5075b2d1732217a5d6 (patch)
tree92484f06760e1f5994099c6df23076c6d4870009 /uitest/src
parent79a9182ab0e2711b75c7ac0d07c740c036d12097 (diff)
downloadvaadin-framework-bf8836bb561e834b8a58bc5075b2d1732217a5d6.tar.gz
vaadin-framework-bf8836bb561e834b8a58bc5075b2d1732217a5d6.zip
Separate pure client side util methods to a new class (#15553, #15544)
* Deprecated old methods in Util for backwards compatibility Change-Id: I9de5e6b930d9f2c0268967dc7b1cf465e6310280
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/BasicExtensionTestConnector.java6
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/CustomUIConnector.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/BasicExtensionTestConnector.java b/uitest/src/com/vaadin/tests/widgetset/client/BasicExtensionTestConnector.java
index 6bd2abec60..18852f51c7 100644
--- a/uitest/src/com/vaadin/tests/widgetset/client/BasicExtensionTestConnector.java
+++ b/uitest/src/com/vaadin/tests/widgetset/client/BasicExtensionTestConnector.java
@@ -19,7 +19,7 @@ package com.vaadin.tests.widgetset.client;
import com.google.gwt.dom.client.DivElement;
import com.google.gwt.dom.client.Document;
import com.vaadin.client.ServerConnector;
-import com.vaadin.client.Util;
+import com.vaadin.client.WidgetUtil;
import com.vaadin.client.extensions.AbstractExtensionConnector;
import com.vaadin.shared.ui.Connect;
import com.vaadin.tests.extensions.BasicExtension;
@@ -35,8 +35,8 @@ public class BasicExtensionTestConnector extends AbstractExtensionConnector {
}
private void appendMessage(String action) {
- String message = Util.getSimpleName(this) + action
- + Util.getSimpleName(target);
+ String message = WidgetUtil.getSimpleName(this) + action
+ + WidgetUtil.getSimpleName(target);
DivElement element = Document.get().createDivElement();
element.setInnerText(message);
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/CustomUIConnector.java b/uitest/src/com/vaadin/tests/widgetset/client/CustomUIConnector.java
index b43da8e27e..a6d9291873 100644
--- a/uitest/src/com/vaadin/tests/widgetset/client/CustomUIConnector.java
+++ b/uitest/src/com/vaadin/tests/widgetset/client/CustomUIConnector.java
@@ -18,7 +18,7 @@ package com.vaadin.tests.widgetset.client;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.SpanElement;
-import com.vaadin.client.Util;
+import com.vaadin.client.WidgetUtil;
import com.vaadin.client.ui.ui.UIConnector;
import com.vaadin.shared.ui.Connect;
import com.vaadin.ui.UI;
@@ -33,7 +33,7 @@ public class CustomUIConnector extends UIConnector {
public void test() {
SpanElement span = Document.get().createSpanElement();
span.setInnerText("This is the "
- + Util.getSimpleName(CustomUIConnector.this));
+ + WidgetUtil.getSimpleName(CustomUIConnector.this));
Document.get().getBody().insertFirst(span);
}
});