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

    https://github.com/apache/wicket/pull/268#discussion_r172101091
  
    --- Diff: 
wicket-core/src/main/java/org/apache/wicket/markup/parser/TagStack.java ---
    @@ -166,12 +167,13 @@ public ComponentTag getNotClosedTag()
                // If there's still a non-simple tag left, it's an error
                if (stack.size() > 0)
                {
    -                   for (int i = 0; i < stack.size(); i++)
    +                   Iterator<ComponentTag> it = stack.descendingIterator();
    --- End diff --
    
    Maybe we can use this iterator functionality also for line 230 / line 290.


---

Reply via email to