File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import java .lang .ref .ReferenceQueue ;
2222import java .nio .file .Path ;
2323import java .util .ArrayList ;
24- import java .util .Collection ;
2524import java .util .Collections ;
2625import java .util .HashSet ;
2726import java .util .List ;
2827import java .util .Objects ;
28+ import java .util .Set ;
2929
3030/**
3131 * Keeps track of files awaiting deletion, and deletes them when an associated
@@ -140,7 +140,7 @@ public String getPath() {
140140 /**
141141 * Collection of {@link Tracker} instances in existence.
142142 */
143- final Collection <Tracker > trackers = Collections .synchronizedSet (new HashSet <>()); // synchronized
143+ final Set <Tracker > trackers = Collections .synchronizedSet (new HashSet <>()); // synchronized
144144
145145 /**
146146 * Collection of File paths that failed to delete.
You can’t perform that action at this time.
0 commit comments