Tweam to converter API
@@ -49,7 +49,7 @@ public interface ConverterBuilder {
* @param func The function to be used to handle errors.
* @return This converter builder for further building.
*/
- <T> ConverterBuilder errorHandler(ConverterFunction<T> func);
+ ConverterBuilder errorHandler(ConverterFunction<Object> func);
/**
* Register a conversion rule for this converter. Note that only the target
@@ -73,8 +73,8 @@ public interface ConverterBuilder {
/**
* Register a catch-all rule, will be called of no other rule matches.
*
- * @param function The function that will handle the conversion.
+ * @param funct The function that will handle the conversion.
* @return This converter builder for further building.
*/
- <T> ConverterBuilder rule(ConverterFunction<T> func);
+ ConverterBuilder rule(ConverterFunction<Object> func);
}
