summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/data/util/PropertyFormatter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/vaadin/data/util/PropertyFormatter.java b/src/com/vaadin/data/util/PropertyFormatter.java
index 5277473665..23e4fb324f 100644
--- a/src/com/vaadin/data/util/PropertyFormatter.java
+++ b/src/com/vaadin/data/util/PropertyFormatter.java
@@ -8,7 +8,7 @@ import java.util.LinkedList;
import com.vaadin.data.Property;
/**
- * Formatting proxy for a property.
+ * Formatting proxy for a {@link Property}.
*
* <p>
* This class can be used to implement formatting for any type of Property
@@ -18,7 +18,7 @@ import com.vaadin.data.Property;
*
* <p>
* For example <code>
- * textfield.setPropertyDataSource(new PropertyFormatter(property) {
+ * <pre>textfield.setPropertyDataSource(new PropertyFormatter(property) {
public String format(Object value) {
return ((Double) value).toString() + "000000000";
}
@@ -27,8 +27,8 @@ import com.vaadin.data.Property;
return Double.parseDouble(formattedValue);
}
- });</code> adds formatter for Double-typed property that extends standard
- * "1.0" notation with more zeroes.
+ });</pre></code> adds formatter for Double-typed property that extends
+ * standard "1.0" notation with more zeroes.
* </p>
*
* @author IT Mill Ltd.