From f3ba6a134f05cfb7faf8d7a3beb52fe64735f7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 25 Sep 2011 12:58:33 +0200 Subject: clean up --- vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java index 0a38bee..2a85bc4 100644 --- a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java +++ b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java @@ -6,16 +6,14 @@ import com.vaadin.ui.Label; public class HelloWorldApp extends Application { - /** - * - */ + private static final long serialVersionUID = 1L; - private Window mainWindow; + @Override public void init() { - mainWindow = new Window("Hello World Application"); - Label label = new Label("Hello world"); - mainWindow.addComponent(label); - setMainWindow(mainWindow); + final Window mainWindow = new Window("Hello World Application"); + Label label = new Label("Hello world"); + mainWindow.addComponent(label); + setMainWindow(mainWindow); } } -- cgit v1.1-2-g2b99