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

    https://github.com/apache/groovy/pull/419#discussion_r79297452
  
    --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java ---
    @@ -8966,20 +8991,24 @@ public int compare(Map.Entry<K, V> e1, Map.Entry<K, 
V> e2) {
         }
     
         /**
    -     * Appends an item to the List. Synonym for add().
    -     * <pre class="groovyTestCase">def list = [3, 4, 2]
    +     * Prepends an item to the start of the List, similar to push on a 
stack.
    --- End diff --
    
    Same comment as with pop, would using Deque instead of Stack make sense?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to