Return-Path: X-Original-To: apmail-incubator-flex-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 574B0D355 for ; Sat, 3 Nov 2012 02:32:52 +0000 (UTC) Received: (qmail 49679 invoked by uid 500); 3 Nov 2012 02:32:52 -0000 Delivered-To: apmail-incubator-flex-commits-archive@incubator.apache.org Received: (qmail 49619 invoked by uid 500); 3 Nov 2012 02:32:52 -0000 Mailing-List: contact flex-commits-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-commits@incubator.apache.org Received: (qmail 49610 invoked by uid 99); 3 Nov 2012 02:32:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2012 02:32:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2012 02:32:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1DEF5238896F; Sat, 3 Nov 2012 02:32:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1405263 - /incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java Date: Sat, 03 Nov 2012 02:32:31 -0000 To: flex-commits@incubator.apache.org From: gordonsmith@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121103023231.1DEF5238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gordonsmith Date: Sat Nov 3 02:32:30 2012 New Revision: 1405263 URL: http://svn.apache.org/viewvc?rev=1405263&view=rev Log: Falcon: Added nontrivial tests for parsing event attributes and event tags. Modified: incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java Modified: incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java URL: http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java?rev=1405263&r1=1405262&r2=1405263&view=diff ============================================================================== --- incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java (original) +++ incubator/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java Sat Nov 3 02:32:30 2012 @@ -94,7 +94,8 @@ import org.apache.flex.compiler.tree.mxm class MXMLEventSpecifierNode extends MXMLSpecifierNodeBase implements IMXMLEventSpecifierNode, IScopedNode { - + private static NodeBase[] NO_AS_NODES = new NodeBase[0]; + /** * Constructor * @@ -115,7 +116,7 @@ class MXMLEventSpecifierNode extends MXM * The child nodes, representing the ActionScript statements to be executed * to handle the event. */ - private NodeBase[] asNodes; + private NodeBase[] asNodes = NO_AS_NODES; /** * The scope contained by the autogenerated event handler method. The