This PR refactors the StandardMultipartFile class to enhance consistency
Changes include:
- Removed the
transferTo(Path dest)
method from StandardMultipartFile, as it is already provided as a default method in the MultipartFile interface. - Updated the
transferTo(File dest)
method to usegetInputStream()
for consistency with the MultipartFile interface's defaulttransferTo(Path dest)
implementation. - Modified the
isEmpty
andgetBytes
methods to also utilize internal methods (getSize()
andgetInputStream()
respectively) for better code consistency.