summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-06 13:24:33 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-06 17:07:45 +0300
commit18d4096bc40fa9a306a1c4ad650c7faf3b5824fb (patch)
treeaa7bd8de4d645dc3b926ff3fe98f395a74477300 /uitest
parenta223440582c2d5160c27615e13eab19ce55c1ae4 (diff)
downloadvaadin-framework-18d4096bc40fa9a306a1c4ad650c7faf3b5824fb.tar.gz
vaadin-framework-18d4096bc40fa9a306a1c4ad650c7faf3b5824fb.zip
Remove VaadinSession.isProductionMode() (#9402)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/minitutorials/v7a1/FindCurrentUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7a1/FindCurrentUI.java b/uitest/src/com/vaadin/tests/minitutorials/v7a1/FindCurrentUI.java
index 147ea2a919..ef0346b293 100644
--- a/uitest/src/com/vaadin/tests/minitutorials/v7a1/FindCurrentUI.java
+++ b/uitest/src/com/vaadin/tests/minitutorials/v7a1/FindCurrentUI.java
@@ -41,8 +41,8 @@ public class FindCurrentUI extends UI {
@Override
public void buttonClick(ClickEvent event) {
String msg = "Running in ";
- msg += VaadinSession.getCurrent().isProductionMode() ? "production"
- : "debug";
+ msg += VaadinSession.getCurrent().getConfiguration()
+ .isProductionMode() ? "production" : "debug";
Notification.show(msg);
}
});