You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2009/07/24 15:18:59 UTC
svn commit: r797438 -
/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java
Author: sebb
Date: Fri Jul 24 13:18:59 2009
New Revision: 797438
URL: http://svn.apache.org/viewvc?rev=797438&view=rev
Log:
Thread-safety: make protected fields final
Modified:
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java?rev=797438&r1=797437&r2=797438&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java Fri Jul 24 13:18:59 2009
@@ -70,10 +70,10 @@
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.