I don't see anypoint in makeing this class org.springframework.web.multipart.MultipartFileResource Package scoped. This class can be used by any Spring Developer to convert MultipartFile to Spring Abstration of Resource and hence must be public.
Comment From: rstoyanchev
The class is package private because it's intended to be accessed via MultipartFile#getResource()
which is public, so there should be no need for the class to be public..
Comment From: ankurpathak
@rstoyanchev I missed that. Thanks for same. Closeing the issue.