[
https://issues.apache.org/jira/browse/COLLECTIONS-761?focusedWorklogId=535237&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-535237
]
ASF GitHub Bot logged work on COLLECTIONS-761:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jan/21 07:59
Start Date: 13/Jan/21 07:59
Worklog Time Spent: 10m
Work Description: arturobernalg commented on pull request #205:
URL:
https://github.com/apache/commons-collections/pull/205#issuecomment-759275198
> The test code is simple, but at the moment it's not failing. From what I
understood from the JIRA linked, it was supposed to test something that is not
working? Unless we are adding the test for coverage?
Hi @kinow
First that all Happy New Years. I tried to prove the Jira and was not
possible. I think it's working correctly. For some reason @garydgregory
suggested adding the test. I guess its related with my last question about the
regression
----------------------------------------------------------------
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: 535237)
Time Spent: 40m (was: 0.5h)
> 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: 40m
> 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)