Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 54003 invoked from network); 19 Nov 2009 00:20:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 00:20:40 -0000 Received: (qmail 6891 invoked by uid 500); 19 Nov 2009 00:20:39 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 6794 invoked by uid 500); 19 Nov 2009 00:20:39 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 6783 invoked by uid 99); 19 Nov 2009 00:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 00:20:39 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [193.252.22.190] (HELO smtp6.freeserve.com) (193.252.22.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 00:20:29 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3613.me.freeserve.com (SMTP Server) with ESMTP id AC8F57000082 for ; Thu, 19 Nov 2009 01:20:09 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3613.me.freeserve.com (SMTP Server) with ESMTP id A05C97000081 for ; Thu, 19 Nov 2009 01:20:09 +0100 (CET) Received: from mx01.dev.local (unknown [91.109.166.197]) by mwinf3613.me.freeserve.com (SMTP Server) with ESMTP id 82F887000082 for ; Thu, 19 Nov 2009 01:19:54 +0100 (CET) X-ME-UUID: 20091119001954536.82F887000082@mwinf3613.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mx01.dev.local (Postfix) with ESMTP id 5830932411 for ; Thu, 19 Nov 2009 00:19:58 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mx01.dev.local ([127.0.0.1]) by localhost (mx01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkDvCPezvVOM for ; Thu, 19 Nov 2009 00:19:55 +0000 (GMT) Received: from [192.168.0.9] (study03.dev.local [192.168.0.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.dev.local (Postfix) with ESMTPSA id A2916323E7 for ; Thu, 19 Nov 2009 00:19:55 +0000 (GMT) Message-ID: <4B048F1B.4060003@apache.org> Date: Thu, 19 Nov 2009 00:19:39 +0000 From: Mark Thomas User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: svn commit: r882008 - /tomcat/trunk/java/org/apache/naming/java/javaURLContextFactory.java References: <20091118235424.E3C18238887A@eris.apache.org> <427155180911181613v2b35a56j800b2fd8e7e09577@mail.gmail.com> In-Reply-To: <427155180911181613v2b35a56j800b2fd8e7e09577@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Konstantin Kolinko wrote: > 2009/11/19 : >> Author: markt >> Date: Wed Nov 18 23:54:24 2009 >> New Revision: 882008 >> >> + // If the thread is not bound, return a shared writable context >> + if (initialContext == null) { >> + if (initialContext == null) { >> + synchronized(this) { > > twice the same condition Thanks - I'll fix that. Mark > > You meant > >> + if (initialContext == null) { >> + synchronized(this) { >> + if (initialContext == null) { > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org