j3graham commented on code in PR #370:
URL:
https://github.com/apache/httpcomponents-client/pull/370#discussion_r880038917
##########
httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java:
##########
@@ -129,7 +128,7 @@ public byte[] encode(final byte[] bytes) {
return buffer.toByteArray();
}
- public byte[] decode(final byte[] bytes) throws DecoderException {
+ public byte[] decode(final byte[] bytes) throws
IllegalArgumentException {
Review Comment:
Since this class is package scoped, there won't be any external code
expecting this exception
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]