This is a cleanup of warnings currently reported.
Change-Id: I6a7103fbfe8ccf0d94067924cb46489f8c53d29b
Signed-off-by: Robert Varga <rovarga@cisco.com>
*
* @param <P> Product of builder
*
- * @author Tony Tkacik <ttkacik@cisco.com>
+ * @author Tony Tkacik <ttkacik@cisco.com>
*/
public interface Builder<P> extends Mutable {
* Multiple calls to this method are not required to return
* same instance if the state of the builder was changed.
*
- * @return
+ * @return Newly-built instance
*/
P toInstance();
}
public interface ClassBasedPropertyBuilder<P,T extends ClassBasedPropertyBuilder<P,T>> extends Builder<P> {
/**
- * Sets a value of property uniquely identified by it's
+ * Sets a value of property uniquely identified by its
* class.
*
* @param type Type of property to set
* @param value Value of property
- * @return
+ * @return Builder instance
*/
- <V> T set(Class<V> type,V value);
+ <V> T set(Class<V> type, V value);
/**
- * Gets a value of property based on it's type.
+ * Gets a value of property based on its type.
*
- * @param type
- * @return
+ * @param type Type of property to get
+ * @return Builder instance
*/
<V> V get(Class<V> type);
-
}
public interface ProductAwareBuilder<P> extends Builder<P> {
/**
* Return the hash code of the product. This has to be equivalent
- * of calling {@link #toInstance()}.{@link #hashCode()}.
+ * of calling {@link #toInstance()}.{@link Object#hashCode()}.
*
* @return the hash code of the product.
*/
/**
* Check whether an instance of the product that would be created
* by the builder is equal to an existing instance. This has to
- * be equivalent of calling {@link #toInstance()}.{@link #equals(Object)}.
+ * be equivalent of calling {@link #toInstance()}.{@link Object#equals(Object)}.
*
* @param product Product instance
* @return Return true if the product is equal to the would-be