Threading: make tasks queue final

This commit is contained in:
Sean Gilligan 2022-03-14 16:45:25 +01:00 committed by Andreas Schildbach
parent e07efde0c0
commit 4bbdd9da55

View File

@ -86,7 +86,7 @@ public class Threading {
// 10,000 pending tasks is entirely arbitrary and may or may not be appropriate for the device we're
// running on.
public static int WARNING_THRESHOLD = 10000;
private LinkedBlockingQueue<Runnable> tasks;
private final LinkedBlockingQueue<Runnable> tasks;
public UserThread() {
super("bitcoinj user thread");