Author: mgrigorov
Date: Sun Dec 12 10:13:56 2010
New Revision: 1044782
URL: http://svn.apache.org/viewvc?rev=1044782&view=rev
Log:
Fix javadoc warnings
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java?rev=1044782&r1=1044781&r2=1044782&view=diff
==============================================================================
---
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
(original)
+++
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Sun Dec 12 10:13:56 2010
@@ -328,14 +328,18 @@ public abstract class FormComponent<T> e
* Visits any form components inside component if it is a container, or
component itself if it
* is itself a form component
*
+ * @param <R>
+ * the type of the visitor's result
+ *
* @param component
* starting point of the traversal
*
* @param visitor
* The visitor to call
+ * @return the visitor's result
*/
public static final <R> R visitFormComponentsPostOrder(Component
component,
- final IVisitor<? extends FormComponent, R> visitor)
+ final IVisitor<? extends FormComponent<?>, R> visitor)
{
return Visits.visitPostOrder(component, visitor, new
IVisitFilter()
{
@@ -362,11 +366,14 @@ public abstract class FormComponent<T> e
* Visits any form components inside component if it is a container, or
component itself if it
* is itself a form component
*
+ * @param <R>
+ * the type of the visitor's result
* @param component
* starting point of the traversal
*
* @param visitor
* The visitor to call
+ * @return the visitor's result
*/
public static final <R> R visitComponentsPostOrder(Component component,
final org.apache.wicket.util.visit.IVisitor<Component, R>
visitor)
@@ -1093,7 +1100,7 @@ public abstract class FormComponent<T> e
* <p>
* Usually the user should do custom conversions by specifying an
{...@link IConverter} by
* registering it with the application by overriding {...@link
Application#getConverterLocator()},
- * or at the component level by overriding {...@link
#getConverter(Class)}}.
+ * or at the component level by overriding {...@link
#getConverter(Class)} .
* </p>
*
* @see IConverterLocator