Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B9B59F68 for ; Tue, 10 Apr 2012 18:38:29 +0000 (UTC) Received: (qmail 5737 invoked by uid 500); 10 Apr 2012 18:38:28 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 5706 invoked by uid 500); 10 Apr 2012 18:38:28 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 5698 invoked by uid 99); 10 Apr 2012 18:38:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 18:38:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.167.159.180] (HELO mail.digitalprimates.net) (66.167.159.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 18:38:21 +0000 Received: from DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0]) by DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0%22]) with mapi id 14.01.0289.001; Tue, 10 Apr 2012 13:37:59 -0500 From: "Michael A. Labriola" To: "flex-dev@incubator.apache.org" Subject: RE: ArrayList itemUpdateHandler Change Thread-Topic: ArrayList itemUpdateHandler Change Thread-Index: Ac0XJIdorBRgj3C0S3SvVKmFYVqazAACp1HfAAAYAvAAAF7CFwAAniyAAAOuIToAAavOUA== Date: Tue, 10 Apr 2012 18:37:58 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.254.61] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 >It looks like the index is converted to a string. Using -1 instead of 0 s= eems just as bad. I would think the fix would be to find a way to get the = right index. Okay, ArrayList and VectorList along with the unit tests for each are now p= ushed back up to my whiteboard. Please review. Factored out some code into = a separate method. It now correctly assigns this index in the case of an it= emUpdated or of a child object dispatch. Mike