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

Matthew Swift
13.57.2013 273ba74cb6f3603a8f478da833645d737b7be1f7
Fix OPENDJ-1137: ConnectionEntryReader does not provide a means for accessing controls in the search result

* fixed checkstyle failure (ran with -Dprecommit instead of -Pprecommit!).

1 files modified
5 ■■■■■ changed files
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/ConnectionEntryReaderTestCase.java 5 ●●●●● patch | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/ConnectionEntryReaderTestCase.java
@@ -253,8 +253,8 @@
    private ConnectionEntryReader newReader(final Object... responses) {
        final Connection connection = mock(Connection.class);
        when(
                connection.searchAsync(same(SEARCH), (IntermediateResponseHandler) isNull(),
        // @formatter:off
        when(connection.searchAsync(same(SEARCH), (IntermediateResponseHandler) isNull(),
                        any(SearchResultHandler.class))).thenAnswer(
                new Answer<FutureResult<Result>>() {
                    @Override
@@ -285,6 +285,7 @@
                        }
                    }
                });
        // @formatter:on
        return new ConnectionEntryReader(connection, SEARCH);
    }