Skip to content

Commit 83ca678

Browse files
committed
Update DeleteFilesFolders.java
1 parent c2bf4dd commit 83ca678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/automationanywhere/botcommand/actions/device/DeleteFilesFolders.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private void delete(List<Path> pathsToDelete, String unableToDeleteBehavior) {
211211
/**
212212
* Helper class that collects files and directories during file tree traversal.
213213
*/
214-
private class FileCollector extends SimpleFileVisitor<Path> {
214+
private static class FileCollector extends SimpleFileVisitor<Path> {
215215
private final Path basePath;
216216
private final boolean recursive;
217217
private final String thresholdCriteria;
@@ -339,7 +339,7 @@ public Set<Path> getDirectoriesToSkip() {
339339
* Helper class that processes file and directory lists to resolve conflicts
340340
* and prepare for deletion.
341341
*/
342-
private class DeletionProcessor {
342+
private static class DeletionProcessor {
343343
private final Path basePath;
344344
private final Set<Path> filesToDelete;
345345
private final Set<Path> directoriesToDelete;

0 commit comments

Comments
 (0)