Thread-safety: make protected fields final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35066eaff7
commit
3629ccf108
|
@ -70,10 +70,10 @@ public class ConnPoolByRoute extends AbstractConnPool {
|
|||
protected final ClientConnectionOperator operator;
|
||||
|
||||
/** The list of free connections */
|
||||
protected Queue<BasicPoolEntry> freeConnections;
|
||||
protected final Queue<BasicPoolEntry> freeConnections;
|
||||
|
||||
/** The list of WaitingThreads waiting for a connection */
|
||||
protected Queue<WaitingThread> waitingThreads;
|
||||
protected final Queue<WaitingThread> waitingThreads;
|
||||
|
||||
/**
|
||||
* A map of route-specific pools.
|
||||
|
|
Loading…
Reference in New Issue