From 1a6235df73ead8d1df3030bf89722f44ed7efb25 Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Sun, 8 Mar 2020 11:46:31 +0800 Subject: [PATCH] =?UTF-8?q?:hammer:=20=E9=87=8D=E6=9E=84=E4=BB=A3=E7=A0=81?= =?UTF-8?q?,=20=E5=8E=BB=E9=99=A4=E6=97=A0=E6=95=88=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/im/zhaojun/zfile/config/ContentTypeTextToTextJson.java | 1 - src/main/java/im/zhaojun/zfile/core/FileListCacheAop.java | 1 - src/main/java/im/zhaojun/zfile/service/impl/FtpServiceImpl.java | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/main/java/im/zhaojun/zfile/config/ContentTypeTextToTextJson.java b/src/main/java/im/zhaojun/zfile/config/ContentTypeTextToTextJson.java index 66d5076..52d0cef 100644 --- a/src/main/java/im/zhaojun/zfile/config/ContentTypeTextToTextJson.java +++ b/src/main/java/im/zhaojun/zfile/config/ContentTypeTextToTextJson.java @@ -7,7 +7,6 @@ import org.springframework.http.client.ClientHttpRequestInterceptor; import org.springframework.http.client.ClientHttpResponse; import java.io.IOException; -import java.net.URI; import java.util.Collections; /** diff --git a/src/main/java/im/zhaojun/zfile/core/FileListCacheAop.java b/src/main/java/im/zhaojun/zfile/core/FileListCacheAop.java index b0705f2..ce0c338 100644 --- a/src/main/java/im/zhaojun/zfile/core/FileListCacheAop.java +++ b/src/main/java/im/zhaojun/zfile/core/FileListCacheAop.java @@ -6,7 +6,6 @@ import im.zhaojun.zfile.service.SystemConfigService; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; -import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; diff --git a/src/main/java/im/zhaojun/zfile/service/impl/FtpServiceImpl.java b/src/main/java/im/zhaojun/zfile/service/impl/FtpServiceImpl.java index b3f40b3..4d3954c 100644 --- a/src/main/java/im/zhaojun/zfile/service/impl/FtpServiceImpl.java +++ b/src/main/java/im/zhaojun/zfile/service/impl/FtpServiceImpl.java @@ -12,10 +12,8 @@ import im.zhaojun.zfile.service.base.AbstractBaseFileService; import im.zhaojun.zfile.service.base.BaseFileService; import im.zhaojun.zfile.util.StringUtils; import org.apache.commons.net.ftp.FTP; -import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPClientConfig; import org.apache.commons.net.ftp.FTPFile; -import org.apache.commons.net.ftp.FTPReply; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service;