]> source.dussan.org Git - vaadin-framework.git/commitdiff
minor cleanup for javadoc
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 25 Oct 2010 09:03:16 +0000 (09:03 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 25 Oct 2010 09:03:16 +0000 (09:03 +0000)
svn changeset:15688/svn branch:6.5

src/com/vaadin/data/util/PropertyFormatter.java

index 5277473665870ffd51caf016d0aa026c9f7fcdd6..23e4fb324f9a354bf2cd9161ac41a7eabaffe243 100644 (file)
@@ -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.