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 @@ -45,23 +45,23 @@ public class FileCleaningTracker {
4545 /**
4646 * Queue of <code>Tracker</code> instances being watched.
4747 */
48- ReferenceQueue <Object > q = new ReferenceQueue <Object >();
48+ private ReferenceQueue <Object > q = new ReferenceQueue <Object >();
4949 /**
5050 * Collection of <code>Tracker</code> instances in existence.
5151 */
52- final Collection <Tracker > trackers = Collections .synchronizedSet (new HashSet <Tracker >()); // synchronized
52+ private final Collection <Tracker > trackers = Collections .synchronizedSet (new HashSet <Tracker >()); // synchronized
5353 /**
5454 * Collection of File paths that failed to delete.
5555 */
56- final List <String > deleteFailures = Collections .synchronizedList (new ArrayList <String >());
56+ private final List <String > deleteFailures = Collections .synchronizedList (new ArrayList <String >());
5757 /**
5858 * Whether to terminate the thread when the tracking is complete.
5959 */
60- volatile boolean exitWhenFinished = false ;
60+ private volatile boolean exitWhenFinished = false ;
6161 /**
6262 * The thread that will clean up registered files.
6363 */
64- Thread reaper ;
64+ private Thread reaper ;
6565
6666 //-----------------------------------------------------------------------
6767 /**
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ public class BoundedReader
4242
4343 private final Reader target ;
4444
45- int charsRead = 0 ;
45+ private int charsRead = 0 ;
4646
47- int markedAt = INVALID ;
47+ private int markedAt = INVALID ;
4848
49- int readAheadLimit ; // Internally, this value will never exceed the allowed size
49+ private int readAheadLimit ; // Internally, this value will never exceed the allowed size
5050
5151 private final int maxCharsFromTargetReader ;
5252
You can’t perform that action at this time.
0 commit comments