garydgregory commented on a change in pull request #25:
URL: https://github.com/apache/commons-beanutils/pull/25#discussion_r432843564
##########
File path:
src/main/java/org/apache/commons/beanutils2/locale/converters/StringLocaleConverter.java
##########
@@ -268,7 +268,7 @@ else if (value instanceof Date) { // java.util.Date,
java.sql.Date, java.sql.Tim
*
* @throws ConversionException if conversion cannot be performed
* successfully
- * @throws ParseException if an error occurs parsing a String to a Number
+ * @throws IllegalArgumentException if an error occurs parsing a String to
a Number
Review comment:
Can this method also throw an NPE?
##########
File path: src/main/java/org/apache/commons/beanutils2/MethodUtils.java
##########
@@ -1150,7 +1150,7 @@ private static float getObjectTransformationCost(Class<?>
srcClass, final Class<
*
* @return true if the assignment is compatible.
*/
- public static final boolean isAssignmentCompatible(final Class<?>
parameterType, final Class<?> parameterization) {
+ public static boolean isAssignmentCompatible(final Class<?> parameterType,
final Class<?> parameterization) {
Review comment:
Hi @XenoAmess
Why is this change needed?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]