|
|
@ -357,7 +357,7 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
List<String> deleteFilePaths = new ArrayList<String>();
|
|
|
|
List<String> deleteFilePaths = new ArrayList<String>();
|
|
|
|
|
|
|
|
|
|
|
|
walk.filter(Files::isRegularFile)
|
|
|
|
walk.filter(Files::isRegularFile)
|
|
|
|
.filter(p -> p.getFileName().toString().equalsIgnoreCase(fileName))
|
|
|
|
.filter(p -> p.toFile().getName().equalsIgnoreCase(fileName))
|
|
|
|
.collect(Collectors.toList())
|
|
|
|
.collect(Collectors.toList())
|
|
|
|
.forEach(item -> deleteFilePaths.add(item.toFile().getPath()));
|
|
|
|
.forEach(item -> deleteFilePaths.add(item.toFile().getPath()));
|
|
|
|
|
|
|
|
|
|
|
|