Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 88419 invoked from network); 12 Feb 2008 06:48:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2008 06:48:37 -0000 Received: (qmail 85717 invoked by uid 500); 12 Feb 2008 06:48:24 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 85684 invoked by uid 500); 12 Feb 2008 06:48:24 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 85667 invoked by uid 99); 12 Feb 2008 06:48:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 22:48:24 -0800 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 brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 06:47:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 12C10714044 for ; Mon, 11 Feb 2008 22:48:08 -0800 (PST) Message-ID: <19586957.1202798888074.JavaMail.jira@brutus> Date: Mon, 11 Feb 2008 22:48:08 -0800 (PST) From: "Dave Brosius (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1371) [PATCH] unnecessary synchronized collections used only in thread safe way In-Reply-To: <7907869.1202798887882.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1371: ------------------------------ Attachment: local_synchronized_collections.patch > [PATCH] unnecessary synchronized collections used only in thread safe way > ------------------------------------------------------------------------- > > Key: JCR-1371 > URL: https://issues.apache.org/jira/browse/JCR-1371 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 1.4.1 > Reporter: Dave Brosius > Priority: Minor > Fix For: 1.4.1 > > Attachments: local_synchronized_collections.patch > > > NodeTypeReader uses Vector in only a local variable thread safe way. Thus the synchronized value of Vector is not needed, and just slowing the code down for nothing. this patch switches the collections to ArrayLists. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.