astiob commented on PR #97:
URL: 
https://github.com/apache/commons-fileupload/pull/97#issuecomment-1145880278

   Um. This code was explicitly intentional for backwards compatibility. The 
new code makes no sense together with the next line and throws 
`ClassCastException` if the provided context doesn’t implement `UploadContext`.
   
   This would be fine when `UploadContext` is merged into `RequestContext`, but 
as far as I can tell, it hasn’t been yet; and when it is, this code should be 
simplified by removing the next line, anyway.


-- 
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]

Reply via email to