fix comment

This commit is contained in:
Looly 2021-08-02 20:27:41 +08:00
parent 854f3dcce6
commit c7d2d389f0
3 changed files with 16 additions and 14 deletions

View File

@ -572,8 +572,8 @@ public class PathUtil {
*
* @param file 文件
* @return MimeType
* @since 5.5.5
* @see Files#probeContentType(Path)
* @since 5.5.5
*/
public static String getMimeType(Path file) {
try {
@ -616,7 +616,7 @@ public class PathUtil {
* 删除文件不追踪软链
*
* @param path 文件对象
* @throws IORuntimeException IO异常
* @throws IOException IO异常
* @since 5.7.7
*/
protected static void delFile(Path path) throws IOException {

View File

@ -30,6 +30,7 @@ public class MoveVisitor extends SimpleFileVisitor<Path> {
*
* @param source 源Path
* @param target 目标Path
* @param copyOptions 拷贝移动选项
*/
public MoveVisitor(Path source, Path target, CopyOption... copyOptions) {
if(PathUtil.exists(target, false) && false == PathUtil.isDirectory(target)){

View File

@ -201,6 +201,7 @@ public class MethodHandleUtil {
* </pre>
*
* @param <T> 返回结果类型
* @param isSpecial 是否为特殊方法privatestatic等
* @param obj 接口的子对象或代理对象
* @param method 方法
* @param args 参数