From 2ab2404ef89a16c1ec0d8891326a238baeb9c179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 27 Sep 2011 17:07:45 +0200 Subject: vaadin-app: add compilerarg -Xlint --- vaadin-app/build.xml | 1 + vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vaadin-app/build.xml b/vaadin-app/build.xml index 9ea1aab..fe108a1 100644 --- a/vaadin-app/build.xml +++ b/vaadin-app/build.xml @@ -297,6 +297,7 @@ optimize="${compile.optimize}" includeantruntime="false"> + diff --git a/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java b/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java index ee0382e..3748bee 100644 --- a/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java +++ b/vaadin-app/src/ch/asynk/helloworld/DataMappingLayout.java @@ -127,13 +127,13 @@ public class DataMappingLayout extends FormLayout { }); addComponent(tf4); // - Button nextButton = new Button("end layout"); - nextButton.setDescription("Go to end layout"); + Button nextButton = new Button("next layout"); + nextButton.setDescription("Go to next layout"); addComponent(nextButton ); nextButton.addListener( new Button.ClickListener() { @Override public void buttonClick(ClickEvent event) { - getApplication().getMainWindow().setContent( new EndLayout() ); + getApplication().getMainWindow().setContent( new LayoutLayout() ); } }); } -- cgit v1.1-2-g2b99