diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-27 17:07:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-27 17:07:45 +0200 |
commit | 2ab2404ef89a16c1ec0d8891326a238baeb9c179 (patch) | |
tree | 48ec8683f4e998fe64faa11ae6fdcaf21b5ea741 | |
parent | ffed433261beacb294e65a47119d2dbad595c0bb (diff) | |
download | skeletons-2ab2404ef89a16c1ec0d8891326a238baeb9c179.zip skeletons-2ab2404ef89a16c1ec0d8891326a238baeb9c179.tar.gz |
vaadin-app: add compilerarg -Xlint
-rw-r--r-- | vaadin-app/build.xml | 1 | ||||
-rw-r--r-- | 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"> <classpath refid="compile.classpath"/> + <compilerarg value="-Xlint"/> </javac> <!-- Copy application resources --> 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() ); } }); } |