Index: trunk/src/com/kitfox/svg/Group.java
===================================================================
--- trunk/src/com/kitfox/svg/Group.java	(revision 8084)
+++ trunk/src/com/kitfox/svg/Group.java	(revision 11525)
@@ -66,4 +66,5 @@
     }
 
+    @Override
     public String getTagName()
     {
@@ -75,4 +76,5 @@
      * each child tag that has been processed
      */
+    @Override
     public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
     {
@@ -98,5 +100,6 @@
     }
 
-    void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
+    @Override
+    void pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
     {
         Point2D xPoint = new Point2D.Double(point.getX(), point.getY());
@@ -113,7 +116,5 @@
 
 
-        for (Iterator it = children.iterator(); it.hasNext();)
-        {
-            SVGElement ele = (SVGElement) it.next();
+        for (SVGElement ele : children) {
             if (ele instanceof RenderableElement)
             {
@@ -125,5 +126,6 @@
     }
 
-    void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException
+    @Override
+    void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
     {
         if (xform != null)
@@ -134,7 +136,5 @@
 
 
-        for (Iterator it = children.iterator(); it.hasNext();)
-        {
-            SVGElement ele = (SVGElement) it.next();
+        for (SVGElement ele : children) {
             if (ele instanceof RenderableElement)
             {
@@ -146,4 +146,5 @@
     }
 
+    @Override
     public void render(Graphics2D g) throws SVGException
     {
@@ -169,5 +170,5 @@
         beginLayer(g);
 
-        Iterator it = children.iterator();
+        Iterator<SVGElement> it = children.iterator();
 
 //        try
@@ -185,5 +186,5 @@
         while (it.hasNext())
         {
-            SVGElement ele = (SVGElement) it.next();
+            SVGElement ele = it.next();
             if (ele instanceof RenderableElement)
             {
@@ -212,4 +213,5 @@
      * Retrieves the cached bounding box of this group
      */
+    @Override
     public Shape getShape()
     {
@@ -225,8 +227,5 @@
         Area retShape = new Area();
 
-        for (Iterator it = children.iterator(); it.hasNext();)
-        {
-            SVGElement ele = (SVGElement) it.next();
-
+        for (SVGElement ele : children) {
             if (ele instanceof ShapeElement)
             {
@@ -246,4 +245,5 @@
      * Retrieves the cached bounding box of this group
      */
+    @Override
     public Rectangle2D getBoundingBox() throws SVGException
     {
@@ -262,11 +262,7 @@
     public void calcBoundingBox() throws SVGException
     {
-//        Rectangle2D retRect = new Rectangle2D.Float();
         Rectangle2D retRect = null;
 
-        for (Iterator it = children.iterator(); it.hasNext();)
-        {
-            SVGElement ele = (SVGElement) it.next();
-
+        for (SVGElement ele : children) {
             if (ele instanceof RenderableElement)
             {
@@ -304,13 +300,14 @@
     }
 
+    @Override
     public boolean updateTime(double curTime) throws SVGException
     {
         boolean changeState = super.updateTime(curTime);
-        Iterator it = children.iterator();
+        Iterator<SVGElement> it = children.iterator();
 
         //Distribute message to all members of this group
         while (it.hasNext())
         {
-            SVGElement ele = (SVGElement) it.next();
+            SVGElement ele = it.next();
             boolean updateVal = ele.updateTime(curTime);
 
