This is an automated email from the ASF dual-hosted git repository.

tomekr pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-query.git


The following commit(s) were added to refs/heads/master by this push:
     new b320e73  SLING-7524: Updated the JavaDoc for unique() method.
b320e73 is described below

commit b320e73b7e27f710c6ee6cfb8f00177e37baf7bb
Author: Tomek Re╠Ękawek <tom...@apache.org>
AuthorDate: Wed Mar 7 12:22:50 2018 +0100

    SLING-7524: Updated the JavaDoc for unique() method.
---
 src/main/java/org/apache/sling/query/AbstractQuery.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/query/AbstractQuery.java 
b/src/main/java/org/apache/sling/query/AbstractQuery.java
index ea37084..0832a6b 100644
--- a/src/main/java/org/apache/sling/query/AbstractQuery.java
+++ b/src/main/java/org/apache/sling/query/AbstractQuery.java
@@ -752,8 +752,10 @@ public abstract class AbstractQuery<T, Q extends 
AbstractQuery<T, Q>> implements
        }
 
        /**
-        * Filter out repeated adjacent resources.
-        * 
+        * Filter out repeated resources. The implementation of this method uses
+        * a {@link HashSet} to store the processed elements, which may result
+        * in an increased memory usage for the big collections.
+        *
         * @return new SlingQuery object transformed by this operation
         */
        public Q unique() {

-- 
To stop receiving notification emails like this one, please contact
tom...@apache.org.

Reply via email to