Github user klopfdreh commented on a diff in the pull request:

    https://github.com/apache/wicket/pull/268#discussion_r172100972
  
    --- Diff: wicket-core/src/main/java/org/apache/wicket/DequeueContext.java 
---
    @@ -226,9 +227,9 @@ private DequeueTagAction canDequeueTag(ComponentTag 
open)
                }
     
                DequeueTagAction action;
    -           for (int i = containers.size() - 1; i >= 0; i--)
    +           for (MarkupContainer container : containers)
    --- End diff --
    
    Only small side note: Is the order of the for loop important in this case?
    
    Before:
    * Last container was taken, then one before last and so on...
    
    Now:
    * First is taken, then the second and so on...
    
    The reason why I ask is that the loop was build to explicit iterate in the 
opposite direction.


---

Reply via email to