aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/annotations/PropertyId.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/annotations/PropertyId.java')
-rw-r--r--server/src/main/java/com/vaadin/annotations/PropertyId.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/annotations/PropertyId.java b/server/src/main/java/com/vaadin/annotations/PropertyId.java
index ecfceda706..c9e51057b2 100644
--- a/server/src/main/java/com/vaadin/annotations/PropertyId.java
+++ b/server/src/main/java/com/vaadin/annotations/PropertyId.java
@@ -34,9 +34,9 @@ import com.vaadin.data.HasValue;
* fields, with the name (ID) of the desired property as the parameter.
* <p>
* In following usage example, the text field would be bound to property "foo"
- * in the Entity class. <code>
+ * in the Entity class.
* <pre>
- * class Editor extends FormLayout {
+ class Editor extends FormLayout {
&#64;PropertyId("foo")
TextField myField = new TextField();
}
@@ -51,7 +51,6 @@ import com.vaadin.data.HasValue;
binder.bindInstanceFields(editor);
}
</pre>
- * </code>
*
* @since 8.0
* @author Vaadin Ltd