[ 
https://issues.apache.org/jira/browse/GROOVY-11650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949236#comment-17949236
 ] 

ASF GitHub Bot commented on GROOVY-11650:
-----------------------------------------

codecov-commenter commented on PR #2212:
URL: https://github.com/apache/groovy/pull/2212#issuecomment-2849016444

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2212?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 68.9613%. Comparing base 
[(`71ca3e0`)](https://app.codecov.io/gh/apache/groovy/commit/71ca3e07d43bbf60e80f2464d6e79ab56d0b581e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 to head 
[(`54441cd`)](https://app.codecov.io/gh/apache/groovy/commit/54441cd9365bbb99495babe3e54e1d18f61b9435?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   [![Impacted file tree 
graph](https://app.codecov.io/gh/apache/groovy/pull/2212/graphs/tree.svg?width=650&height=150&src=pr&token=1r45138NfQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/groovy/pull/2212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2212        +/-   ##
   ==================================================
   + Coverage     68.9576%   68.9613%   +0.0037%     
   - Complexity      29591      29598         +7     
   ==================================================
     Files            1423       1423                
     Lines          114102     114106         +4     
     Branches        19793      19794         +1     
   ==================================================
   + Hits            78682      78689         +7     
     Misses          28800      28800                
   + Partials         6620       6617         -3     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2212?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[.../codehaus/groovy/runtime/DefaultGroovyMethods.java](https://app.codecov.io/gh/apache/groovy/pull/2212?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fruntime%2FDefaultGroovyMethods.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3J1bnRpbWUvRGVmYXVsdEdyb292eU1ldGhvZHMuamF2YQ==)
 | `74.3971% <100.0000%> (+0.0305%)` | :arrow_up: |
   
   ... and [4 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2212/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test 
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, 
report on failures, and find test suite problems.
   - :package: [JS Bundle 
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save 
yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>




> Create drain extension method for Queues
> ----------------------------------------
>
>                 Key: GROOVY-11650
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11650
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 5.x
>
>
> The standard iterator for queues like PriorityQueue don't iterate according 
> to priority order. You have to use poll (or drainTo for blocking queues) to 
> get the elements in priority order. It would be useful to have a "drain()" or 
> "elements()" method to get a list of all the elements that successive calls 
> to poll would return. The intention would be that the queue was drained upon 
> completion of the call.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to