[
https://issues.apache.org/jira/browse/COLLECTIONS-773?focusedWorklogId=517374&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-517374
]
ASF GitHub Bot logged work on COLLECTIONS-773:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 27/Nov/20 14:31
Start Date: 27/Nov/20 14:31
Worklog Time Spent: 10m
Work Description: coveralls commented on pull request #198:
URL:
https://github.com/apache/commons-collections/pull/198#issuecomment-734861750
[](https://coveralls.io/builds/35287611)
Coverage remained the same at 90.117% when pulling
**167831c7b108ec6426b0be6c7334012eda77cdac on monperrus:fix-COLLECTIONS-773**
into **979d2727ae8df615292524b0b0ae0ff03ab261a9 on apache:master**.
----------------------------------------------------------------
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: 517374)
Time Spent: 20m (was: 10m)
> The method AbstractHashedMap#ensureCapacity is not tested
> ---------------------------------------------------------
>
> Key: COLLECTIONS-773
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-773
> Project: Commons Collections
> Issue Type: Test
> Components: Map
> Affects Versions: Nightly Builds, 4.3, 4.4
> Reporter: Martin Monperrus
> Priority: Minor
> Labels: performance, test
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Hi Apache 🏹!
> I notice that method AbstractHashedMap#ensureCapacity seems quite important,
> it is executed 11885 times by the test suite.
> Yet, when I completely remove the body of the method, leaving the method
> doing nothing, no test breaks.
> It that normal or should we add test or an assertion to specify its behavior?
> Thanks a lot for the great library!
> --Martin
--
This message was sent by Atlassian Jira
(v8.3.4#803005)