XenoAmess commented on a change in pull request #25:
URL: https://github.com/apache/commons-beanutils/pull/25#discussion_r432844821
##########
File path:
src/main/java/org/apache/commons/beanutils2/locale/converters/ByteLocaleConverter.java
##########
@@ -217,6 +217,6 @@ protected Object parse(final Object value, final String
pattern) throws ParseExc
throw new ConversionException("Supplied number is not of type
Byte: " + parsed.longValue());
}
// now returns property Byte
- return Byte.valueOf(parsed.byteValue());
+ return parsed.byteValue();
Review comment:
done.
----------------------------------------------------------------
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]