【feature】- 优化代码-UploadFile#write(File)

This commit is contained in:
ascend 2023-05-18 09:03:48 +08:00
parent 87fd7393f9
commit bd7cece2ef

View File

@ -96,7 +96,7 @@ public class UploadFile {
public File write(File destination) throws IOException {
assertValid();
if (destination.isDirectory() == true) {
if (destination.isDirectory()) {
destination = new File(destination, this.header.getFileName());
}
if (data != null) {