<BUG>if (MapUtils.isNotEmpty(response.getFacetQuery())) {</BUG><CONTEXT>Assert.notNull(query, "Cannot convert response for 'null', query");if (!hasFacets(query, response)) {return Collections.emptyList();}List<FacetQueryEntry> facetResult = new ArrayList<FacetQueryEntry>();<extra_id_0>for (Entry<String, Integer> entry : response.getFacetQuery().entrySet()) {facetResult.add(new SimpleFacetQueryEntry(entry.getKey(), entry.getValue()));}</CONTEXT>
if (!CollectionUtils.isEmpty(response.getFacetQuery())) {