Improve log usage in VitroBackgroundThread

This commit is contained in:
Graham Triggs 2016-07-28 22:11:29 +01:00
parent 2dbceba9f1
commit 04d361b80c

View file

@ -21,7 +21,7 @@ import org.apache.commons.logging.LogFactory;
* check their current status. * check their current status.
*/ */
public class VitroBackgroundThread extends Thread { public class VitroBackgroundThread extends Thread {
Log log = LogFactory.getLog(VitroBackgroundThread.class); private static final Log log = LogFactory.getLog(VitroBackgroundThread.class);
private static final ConcurrentLinkedQueue<WeakReference<VitroBackgroundThread>> allThreads = new ConcurrentLinkedQueue<WeakReference<VitroBackgroundThread>>(); private static final ConcurrentLinkedQueue<WeakReference<VitroBackgroundThread>> allThreads = new ConcurrentLinkedQueue<WeakReference<VitroBackgroundThread>>();