[ 
https://issues.apache.org/jira/browse/SLING-7524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16383844#comment-16383844
 ] 

ASF GitHub Bot commented on SLING-7524:
---------------------------------------

JEBailey opened a new pull request #1: SLING-7524 updated unique function to 
only return unique items
URL: https://github.com/apache/sling-org-apache-sling-query/pull/1
 
 
   Method is similar to how the distinct method works in the Stream api and
   utilizes a HashSet of previously seen items

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Sling Query - unique function does not not remove all duplicates
> ----------------------------------------------------------------
>
>                 Key: SLING-7524
>                 URL: https://issues.apache.org/jira/browse/SLING-7524
>             Project: Sling
>          Issue Type: Improvement
>          Components: Sling Query
>            Reporter: Jason E Bailey
>            Assignee: Jason E Bailey
>            Priority: Major
>
> the function for unique does not match the contract a unique function usually 
> provides including JQuery, rather it's providing a sequential deduplicator.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to