File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7979// TODO Add a Builder so we can construct and start.
8080public class DefaultFileMonitor implements Runnable , FileMonitor , AutoCloseable {
8181
82- private static final ThreadFactory threadFactory = new BasicThreadFactory .Builder ().daemon (true ).priority (Thread .MIN_PRIORITY ).build ();
82+ private static final ThreadFactory THREAD_FACTORY = new BasicThreadFactory .Builder ().daemon (true ).priority (Thread .MIN_PRIORITY ).build ();
8383
8484 /**
8585 * File monitor agent.
@@ -560,7 +560,7 @@ public void setRecursive(final boolean newRecursive) {
560560 */
561561 public synchronized void start () {
562562 if (monitorThread == null ) {
563- monitorThread = threadFactory .newThread (this );
563+ monitorThread = THREAD_FACTORY .newThread (this );
564564 }
565565 monitorThread .start ();
566566 }
You can’t perform that action at this time.
0 commit comments