Return-Path: Delivered-To: apmail-xmlgraphics-batik-commits-archive@www.apache.org Received: (qmail 28630 invoked from network); 16 Dec 2006 00:03:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2006 00:03:32 -0000 Received: (qmail 49072 invoked by uid 500); 16 Dec 2006 00:03:40 -0000 Delivered-To: apmail-xmlgraphics-batik-commits-archive@xmlgraphics.apache.org Received: (qmail 48954 invoked by uid 500); 16 Dec 2006 00:03:39 -0000 Mailing-List: contact batik-commits-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-commits@xmlgraphics.apache.org Received: (qmail 48943 invoked by uid 99); 16 Dec 2006 00:03:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 16:03:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 16:03:31 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 49DB01A981A; Fri, 15 Dec 2006 16:02:45 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r487723 - /xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java Date: Sat, 16 Dec 2006 00:02:45 -0000 To: batik-commits@xmlgraphics.apache.org From: cam@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061216000245.49DB01A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cam Date: Fri Dec 15 16:02:44 2006 New Revision: 487723 URL: http://svn.apache.org/viewvc?view=rev&rev=487723 Log: 1. Fixed bug where mousing over 'a' elements would result in exceptions. Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java?view=diff&rev=487723&r1=487722&r2=487723 ============================================================================== --- xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java (original) +++ xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java Fri Dec 15 16:02:44 2006 @@ -147,7 +147,7 @@ } public void handleEvent(Event evt) { - if (evt.getDefaultPrevented()) { + if (((AbstractEvent) evt).getDefaultPrevented()) { return; } SVGAElement elt = (SVGAElement)evt.getCurrentTarget(); @@ -170,7 +170,7 @@ } public void handleEvent(Event evt) { - if (evt.getDefaultPrevented()) { + if (((AbstractEvent) evt).getDefaultPrevented()) { return; } // @@ -222,7 +222,7 @@ } public void handleEvent(Event evt) { - if (evt.getDefaultPrevented()) { + if (((AbstractEvent) evt).getDefaultPrevented()) { return; } // No need to set the cursor on out events: this is taken care of