79245048

Date: 2024-12-02 17:41:11
Score: 0.5
Natty:
Report link

I don't understand the entity "FilesUploadEnum".

If it is the name of a given file, why not replace the input parameter with:

"@RequestParam("file") List<MultipartFile> files"

and get the file names directly from the object like this:

files.forEach(f-> System.out.println(f.getOriginalFilename()));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ECHU