Author: ivaynberg Date: Mon Apr 16 20:29:25 2007 New Revision: 529476 URL: http://svn.apache.org/viewvc?view=rev&rev=529476 Log: small code cleanup
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java?view=diff&rev=529476&r1=529475&r2=529476 ============================================================================== --- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java (original) +++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java Mon Apr 16 20:29:25 2007 @@ -573,10 +573,10 @@ } // attach components - it = markupIdToComponent.entrySet().iterator(); + it = markupIdToComponent.values().iterator(); while (it.hasNext()) { - final Component component = (Component)((Entry)it.next()).getValue(); + final Component component = (Component)it.next(); component.attach(); }