Catch correct error for replaced class, to fix test errors. Satisfy checkstyle. #3061

This commit is contained in:
Mark H. Wood
2020-11-30 16:21:01 -05:00
parent ce4ca33346
commit a036b99f1c
5 changed files with 11 additions and 16 deletions

View File

@@ -15,7 +15,6 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
@@ -23,7 +22,7 @@ import org.apache.commons.collections4.CollectionUtils;
import org.dspace.discovery.configuration.DiscoverySearchFilterFacet;
/**
* This class represents a query which the discovery backend can use
* This class represents a query which the discovery back-end can use.
*
* @author Kevin Van de Velde (kevin at atmire dot com)
*/
@@ -273,7 +272,7 @@ public class DiscoverQuery {
/**
* Sets the fields which you want Discovery to return in the search results.
* It is HIGHLY recommended to limit the fields returned, as by default
* some backends (like Solr) will return everything.
* some back-ends (like Solr) will return everything.
*
* @param field field to add to the list of fields returned
*/