Permalink
Browse files

Indicating from where I copied the code.

  • Loading branch information...
andersonfreitas committed Sep 10, 2010
1 parent 15e68ab commit 9fd162cec001ed6d4c8f01345ecd24e693541199
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/com/andersonfreitas/vaadin/maskedtextfield/DemoApplication.java
@@ -102,6 +102,7 @@ public void buttonClick(ClickEvent event) {
}
}
+/* Copied from Vaadin FeatureBrowser */
@SuppressWarnings("serial")
class FormExample extends CustomComponent {
@@ -170,7 +171,8 @@ public void buttonClick(ClickEvent event) {
setFooter(footer);
}
- public void setDataSource(Address dataModel) {
+ @SuppressWarnings("unchecked")
+ public void setDataSource(Address dataModel) {
// Set the form to edit given datamodel by converting pojo used as
// the datamodel to Item

0 comments on commit 9fd162c

Please sign in to comment.