mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
Merge pull request #10509 from saschaszott/saschaszott-patch-9
DiscoverQueryBuilder: add missing whitespace in exception message
This commit is contained in:
@@ -379,7 +379,7 @@ public class DCInputsReader {
|
|||||||
}
|
}
|
||||||
// sanity check number of fields
|
// sanity check number of fields
|
||||||
if (fields.size() < 1) {
|
if (fields.size() < 1) {
|
||||||
throw new DCInputsReaderException("Form " + formName + "row " + rowIdx + " has no fields");
|
throw new DCInputsReaderException("Form " + formName + ", row " + rowIdx + " has no fields");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -302,7 +302,7 @@ public class DiscoverQueryBuilder implements InitializingBean {
|
|||||||
|
|
||||||
if (StringUtils.isNotBlank(sortBy) && !isConfigured(sortBy, searchSortConfiguration)) {
|
if (StringUtils.isNotBlank(sortBy) && !isConfigured(sortBy, searchSortConfiguration)) {
|
||||||
throw new SearchServiceException(
|
throw new SearchServiceException(
|
||||||
"The field: " + sortBy + "is not configured for the configuration!");
|
"The field: " + sortBy + " is not configured for the configuration!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user