Skip to content

Commit

Permalink
Browse response will now be checked for prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
yeriomin committed Feb 17, 2018
1 parent 8da3d46 commit ce00337
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ public Payload genericGet(String url, Map<String, String> params) throws IOExcep
if (wrapper.getPreFetchCount() > 0
&& ((payload.hasSearchResponse() && payload.getSearchResponse().getDocCount() == 0)
|| (payload.hasListResponse() && payload.getListResponse().getDocCount() == 0)
|| payload.hasBrowseResponse()
)
) {
return wrapper.getPreFetch(0).getResponse().getPayload();
Expand Down

0 comments on commit ce00337

Please sign in to comment.