Converted opendj3 code to use SearchRequest like API
Removed useless calls to SearchRequest.setSizeLimit(Integer.MAX_VALUE) and SearchRequest.setTimeLimit(Integer.MAX_VALUE), as they are no better than leaving the default which is 0.
| | |
| | | public void testCollectiveAttributeSubentries() throws Exception |
| | | { |
| | | SearchRequest request = newSearchRequest(testEntry.getName(), SearchScope.BASE_OBJECT) |
| | | .setSizeLimit(Integer.MAX_VALUE) |
| | | .setTimeLimit(Integer.MAX_VALUE) |
| | | .addAttribute("collectiveAttributeSubentries"); |
| | | InternalSearchOperation searchOperation = getRootConnection().processSearch(request); |
| | | |