Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 61622 invoked from network); 9 Aug 2002 05:17:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Aug 2002 05:17:18 -0000 Received: (qmail 16619 invoked by uid 97); 9 Aug 2002 05:17:46 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 16594 invoked by uid 97); 9 Aug 2002 05:17:46 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 16582 invoked by uid 98); 9 Aug 2002 05:17:45 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <001301c23f64$c2625960$5bc22e04@dslverizon.net> From: "Bill Barker" To: "Tomcat Developers List" References: <20020809021010.27824.qmail@icarus.apache.org> Subject: Re: cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteRequest.java LocalStrings.properties Date: Thu, 8 Aug 2002 22:22:29 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archived: msg.XXGRkaLa@sneezy X-Scanned-By: MIMEDefang 2.11 (www dot roaringpenguin dot com slash mimedefang) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > + // Remove the specified attribute > + synchronized (attributes) { > + // Check for read only attribute > + if (readOnlyAttributes.containsKey(name)) > + return; > + found = attributes.containsKey(name); > + if (found) { > + value = attributes.get(name); > + attributes.remove(name); > + } else { > + return; > + } > + } Requests are per-thread, so the synchronized is unnecessary. -- To unsubscribe, e-mail: For additional commands, e-mail: