mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev
This commit is contained in:
commit
586b29f3d1
@ -96,7 +96,7 @@ public class UploadFile {
|
|||||||
public File write(File destination) throws IOException {
|
public File write(File destination) throws IOException {
|
||||||
assertValid();
|
assertValid();
|
||||||
|
|
||||||
if (destination.isDirectory() == true) {
|
if (destination.isDirectory()) {
|
||||||
destination = new File(destination, this.header.getFileName());
|
destination = new File(destination, this.header.getFileName());
|
||||||
}
|
}
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user