Analyzing MultipartFile, List <MultipartFile> is empty

Determining whether MultipartFile is empty, a null == voice is empty, null! = Voice is not empty.
Analyzing List <MultipartFile> is empty, with voice.size () == 0 is empty, voice.size ()> 0 is not empty.

Guess you like

Origin www.cnblogs.com/whirlwind/p/12111099.html