diff options
Diffstat (limited to 'tests/testbench/com/vaadin/tests/tickets/Ticket1673.java')
-rw-r--r-- | tests/testbench/com/vaadin/tests/tickets/Ticket1673.java | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/testbench/com/vaadin/tests/tickets/Ticket1673.java b/tests/testbench/com/vaadin/tests/tickets/Ticket1673.java index 845e49daed..7af141b972 100644 --- a/tests/testbench/com/vaadin/tests/tickets/Ticket1673.java +++ b/tests/testbench/com/vaadin/tests/tickets/Ticket1673.java @@ -1,28 +1,28 @@ -package com.vaadin.tests.tickets;
-
-import com.vaadin.Application;
-import com.vaadin.ui.Button;
-import com.vaadin.ui.Window;
-
-public class Ticket1673 extends com.vaadin.Application {
-
- @Override
- public void init() {
-
- final Window main = new Window("#1673");
- setMainWindow(main);
-
- main.addComponent(new Button("close", this, "close"));
-
- }
-
- public static Application.SystemMessages getSystemMessages() {
- Application.CustomizedSystemMessages msgs = new Application.CustomizedSystemMessages();
-
- msgs.setSessionExpiredURL("http://www.vaadin.com/");
- msgs.setSessionExpiredCaption("Foo");
- msgs.setSessionExpiredMessage("Bar");
-
- return msgs;
- }
-}
+package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.ui.Button; +import com.vaadin.ui.Window; + +public class Ticket1673 extends com.vaadin.Application { + + @Override + public void init() { + + final Window main = new Window("#1673"); + setMainWindow(main); + + main.addComponent(new Button("close", this, "close")); + + } + + public static Application.SystemMessages getSystemMessages() { + Application.CustomizedSystemMessages msgs = new Application.CustomizedSystemMessages(); + + msgs.setSessionExpiredURL("http://www.vaadin.com/"); + msgs.setSessionExpiredCaption("Foo"); + msgs.setSessionExpiredMessage("Bar"); + + return msgs; + } +} |