Tomek Rękawek commented on SLING-7524:

[~jebailey] - I gave it more thought and your arguments seems reasonable. As 
you wrote, jQuery, Java Stream API, rxjava, etc. - they all have a similar 
method, so maybe we should have it too.

Feel free to merge the PR. Also, please update the Javadoc: it says about the 
"adjacent" repeating elements. I think it's also worth mentioning that it 
stores all the processed elements.


> 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

Reply via email to