[
https://issues.apache.org/jira/browse/COLLECTIONS-799?focusedWorklogId=647588&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-647588
]
ASF GitHub Bot logged work on COLLECTIONS-799:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 07/Sep/21 21:32
Start Date: 07/Sep/21 21:32
Worklog Time Spent: 10m
Work Description: scordio opened a new pull request #250:
URL: https://github.com/apache/commons-collections/pull/250
This prevents modifications via
[`pollFirst()`](https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollFirst())
and
[`pollLast()`](https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollLast())
for `UnmodifiableNavigableSet` instances.
https://issues.apache.org/jira/browse/COLLECTIONS-799
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 647588)
Remaining Estimate: 0h
Time Spent: 10m
> UnmodifiableNavigableSet can be modified by pollFirst() and pollLast()
> ----------------------------------------------------------------------
>
> Key: COLLECTIONS-799
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-799
> Project: Commons Collections
> Issue Type: Bug
> Components: Collection, Set
> Affects Versions: 4.4
> Reporter: Stefano Cordio
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [{{pollFirst()}}|https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollFirst()]
> and
> [{{pollLast()}}|https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollLast()]
> are successfully executed and do not throw an
> {{UnsupportedOperationException}} on an {{UnmodifiableNavigableSet}} instance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)