You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2007/10/05 02:01:10 UTC

svn commit: r582031 - /xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java

Author: cam
Date: Thu Oct  4 17:01:09 2007
New Revision: 582031

URL: http://svn.apache.org/viewvc?rev=582031&view=rev
Log:
Fix compilation error on Java 1.4.

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?rev=582031&r1=582030&r2=582031&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java Thu Oct  4 17:01:09 2007
@@ -25,6 +25,7 @@
 
 import org.apache.batik.dom.events.AbstractEvent;
 import org.apache.batik.dom.events.NodeEventTarget;
+import org.apache.batik.dom.svg.SVGOMAElement;
 import org.apache.batik.dom.svg.SVGOMAnimationElement;
 import org.apache.batik.dom.svg.SVGOMDocument;
 import org.apache.batik.gvt.GraphicsNode;
@@ -195,14 +196,14 @@
 
     public static class AnchorDefaultActionable implements Runnable {
 
-        protected SVGAElement   elt;
+        protected SVGOMAElement elt;
         protected UserAgent     userAgent;
         protected CursorHolder  holder;
 
         public AnchorDefaultActionable(SVGAElement   e, 
                                        UserAgent     ua, 
                                        CursorHolder  ch) {
-            elt       = e;
+            elt       = (SVGOMAElement) e;
             userAgent = ua;
             holder    = ch;
         }