mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
16.03.2014 405ac1b162672e2109736ba571babd215c43d44e
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.
1 files modified
2 ■■■■■ changed files
opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/core/SubentryManagerTestCase.java 2 ●●●●● patch | view | raw | blame | history
opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/core/SubentryManagerTestCase.java
@@ -361,8 +361,6 @@
  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);