mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Update PathUtil.java
typo
This commit is contained in:
parent
58355265ff
commit
cd1a372ab1
@ -181,7 +181,7 @@ public class PathUtil {
|
||||
*/
|
||||
public static Path copyFile(Path src, Path target, CopyOption... options) throws IORuntimeException {
|
||||
Assert.notNull(src, "Source File is null !");
|
||||
Assert.notNull(target, "Destination File or directiory is null !");
|
||||
Assert.notNull(target, "Destination File or directory is null !");
|
||||
|
||||
final Path targetPath = isDirectory(target) ? target.resolve(src.getFileName()) : target;
|
||||
// 创建级联父目录
|
||||
|
Loading…
x
Reference in New Issue
Block a user