mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 21:43:11 +00:00
[DS 4287] Refactoring the IndexableObject & SolrServiceImpl to become more expandable
This commit is contained in:
@@ -243,7 +243,7 @@ public class DiscoverResult {
|
||||
String dsoString = SearchDocument.getIndexableObjectStringRepresentation(idxObj);
|
||||
List<SearchDocument> result = searchDocuments.get(dsoString);
|
||||
if (result == null) {
|
||||
return new ArrayList<SearchDocument>();
|
||||
return new ArrayList<>();
|
||||
} else {
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user