Skip to content

Commit

Permalink
ISPN-12986 Resolve compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
karesti authored and ryanemerson committed May 11, 2021
1 parent 81cda92 commit 47039e4
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1,6 +1,5 @@
package org.infinispan.rest.search;

import static org.infinispan.client.rest.RestQueryMode.BROADCAST;
import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_JSON;
import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_PROTOSTREAM_TYPE;
import static org.infinispan.functional.FunctionalTestUtils.await;
Expand Down Expand Up @@ -334,15 +333,15 @@ private void assertTotalAndPageSize(CompletionStage<RestResponse> response, int
}

private CompletionStage<RestResponse> queryWithoutPagination(RestCacheClient client, String query) {
return client.query(query, -1, 0, BROADCAST);
return client.query(query, -1, 0);
}

private CompletionStage<RestResponse> queryWithDefaultPagination(RestCacheClient client, String query) {
return client.query(query);
}

private CompletionStage<RestResponse> queryWithPagination(RestCacheClient client, String query, int maxResults, int offset) {
return client.query(query, maxResults, offset, BROADCAST);
return client.query(query, maxResults, offset);
}

private int getFieldAggregationValue(CompletionStage<RestResponse> response, String field) {
Expand Down

0 comments on commit 47039e4

Please sign in to comment.