优化代码结构

This commit is contained in:
zhaojun1998
2020-01-20 21:35:20 +08:00
parent dcc4cb19ad
commit f6163c7e19
5 changed files with 2 additions and 18 deletions

View File

@@ -73,8 +73,6 @@ public class FileAsyncCacheService {
log.info("缓存 {} 所有文件开始", storageStrategy.getDescription());
long startTime = System.currentTimeMillis();
try {
String path = "/";
FileService currentFileService = systemConfigService.getCurrentFileService();
List<FileItemDTO> rootFileItems = currentFileService.fileList("/");
ArrayDeque<FileItemDTO> queue = new ArrayDeque<>(rootFileItems);