mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
【feature】- 优化代码-UploadFile#write(File)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user