Fix for ALF-927: sp.setMaxItems(0) miss interpreted while searching.

- fixed comment to reflect behaviour as required.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2010-04-21 14:35:33 +00:00
parent 10ee7dc2dc
commit c3a112f425

View File

@@ -548,7 +548,9 @@ public class SearchParameters
} }
/** /**
* Set the max number of rows for the result set 0 or less is unlimited * Set the max number of rows for the result set.
* A negative value implies unlimited
* 0 will return no results.
* *
* @param maxItems * @param maxItems
* the maxItems to set * the maxItems to set