|
@@ -127,11 +127,8 @@ public class TestController extends BaseController {
|
|
|
for (File file1 : files) {
|
|
|
String linkPath =file1.getPath() + "/capture";
|
|
|
log.info("delLink--filePath:{},exists:{}",linkPath,new File(linkPath).exists());
|
|
|
- if(new File(linkPath).exists()){
|
|
|
- log.info("delLink--filePath:{}",linkPath);
|
|
|
- org.apache.commons.io.FileUtils.deleteQuietly(new File(linkPath));
|
|
|
+ org.apache.commons.io.FileUtils.deleteQuietly(new File(linkPath));
|
|
|
//FileUtil.del(linkPath);
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|