[
https://issues.apache.org/jira/browse/COLLECTIONS-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092127#comment-16092127
]
ASF GitHub Bot commented on COLLECTIONS-575:
--------------------------------------------
GitHub user Xaerxess opened a pull request:
https://github.com/apache/commons-collections/pull/25
COLLECTIONS-575: Add synchronized queue wrapper
Added QueueUtils#synchronizedQueue(Queue) wrapper and SynchronizedQueue
with tests. Please check if I used proper conventions as it's my first PR to
commons-collections.
Follow-up to PR #19 which was closed during migration.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Xaerxess/commons-collections
COLLECTIONS-575-synchronized-queue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-collections/pull/25.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #25
----
commit bfdce1dbac170d76890c223beb71e0c0b6684f1a
Author: Grzegorz Rożniecki <[email protected]>
Date: 2016-10-28T20:04:43Z
COLLECTIONS-575: Add synchronized queue wrapper
commit 5daa2123ecba3ed52e0d049d492cafab2ea3ae2b
Author: Grzegorz Rożniecki <[email protected]>
Date: 2016-10-28T20:04:52Z
COLLECTIONS-575: Add test for QueueUtils#synchronizedQueue(Queue)
----
> Synchronized queue wrapper in QueueUtils
> ----------------------------------------
>
> Key: COLLECTIONS-575
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-575
> Project: Commons Collections
> Issue Type: New Feature
> Components: Collection
> Affects Versions: 4.0
> Reporter: Guram Savinov
> Labels: queue, synchronization, wrapping
> Fix For: 4.x
>
>
> There is no synchronized queue wrapper in QueueUtils like in MapUtils or
> ListUtils for example.
> My own case: I want to synchronize CircularFifoQueue operations, for this I
> need synchronized queue wrapper.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)