Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 31368 invoked from network); 7 Dec 2007 19:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 19:36:07 -0000 Received: (qmail 5194 invoked by uid 500); 7 Dec 2007 19:35:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 5151 invoked by uid 500); 7 Dec 2007 19:35:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 5133 invoked by uid 99); 7 Dec 2007 19:35:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:35:54 -0800 X-ASF-Spam-Status: No, hits=-100.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; Fri, 07 Dec 2007 19:36:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 29DD5714256 for ; Fri, 7 Dec 2007 11:35:43 -0800 (PST) Message-ID: <18038614.1197056143169.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 11:35:43 -0800 (PST) From: "Erik B. Craig (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3554) monitoring plugin: client should use an ArrayList instead of a Vector In-Reply-To: <8572473.1193238650818.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/GERONIMO-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549529 ] Erik B. Craig commented on GERONIMO-3554: ----------------------------------------- Patch Committed revision 602191. Thanks Viet! > monitoring plugin: client should use an ArrayList instead of a Vector > --------------------------------------------------------------------- > > Key: GERONIMO-3554 > URL: https://issues.apache.org/jira/browse/GERONIMO-3554 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: monitoring > Affects Versions: 2.1 > Environment: windows > Reporter: Viet Hung Nguyen > Assignee: Viet Hung Nguyen > Priority: Trivial > Attachments: geronimo-3554.patch > > > There are some places in the client code where Vectors are used. ArrayLists would be a better type for this particular instance because of efficiency. Vectors are used for synchronization purposes, which the client does not need to do. ArrayLists would be faster and serve the same purpose in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.