Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 30535 invoked from network); 24 Jul 2009 13:18:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 13:18:17 -0000 Received: (qmail 50307 invoked by uid 500); 24 Jul 2009 13:19:22 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 50273 invoked by uid 500); 24 Jul 2009 13:19:22 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 50264 invoked by uid 99); 24 Jul 2009 13:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 13:19:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 13:19:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0FF97238889D; Fri, 24 Jul 2009 13:19:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r797438 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java Date: Fri, 24 Jul 2009 13:18:59 -0000 To: commits@hc.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090724131900.0FF97238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 freeConnections; + protected final Queue freeConnections; /** The list of WaitingThreads waiting for a connection */ - protected Queue waitingThreads; + protected final Queue waitingThreads; /** * A map of route-specific pools.