3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

The locking field should be final.

This commit is contained in:
George Karpenkov 2016-01-06 11:19:38 +01:00
parent 8bb0010dc3
commit 529b9d6833

View file

@ -21,7 +21,7 @@ import java.util.LinkedList;
public abstract class IDecRefQueue public abstract class IDecRefQueue
{ {
protected Object m_lock = new Object(); protected final Object m_lock = new Object();
protected LinkedList<Long> m_queue = new LinkedList<Long>(); protected LinkedList<Long> m_queue = new LinkedList<Long>();
protected int m_move_limit; protected int m_move_limit;