[
https://issues.apache.org/jira/browse/COLLECTIONS-761?focusedWorklogId=535924&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-535924
]
ASF GitHub Bot logged work on COLLECTIONS-761:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jan/21 07:32
Start Date: 14/Jan/21 07:32
Worklog Time Spent: 10m
Work Description: arturobernalg commented on pull request #205:
URL:
https://github.com/apache/commons-collections/pull/205#issuecomment-759984195
Hi @kinow
thank you very much. I understand now.
I close the PR and we wait for the person who reported the Jira send a test
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 535924)
Time Spent: 1h 20m (was: 1h 10m)
> org.apache.commons.collections.IteratorUtils.toList() will return empty list
> when size of iterator is 1
> -------------------------------------------------------------------------------------------------------
>
> Key: COLLECTIONS-761
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-761
> Project: Commons Collections
> Issue Type: Bug
> Affects Versions: 3.2.2
> Reporter: Chen Lingqi
> Priority: Minor
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> org.apache.commons.collections.IteratorUtils.toList() will return empty list
> when size of iterator is 1. In this case, iterator size is 1, return value of
> iterator.hasNext() is false, therefore, it will return empty list by default.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)