Merge pull request #10509 from saschaszott/saschaszott-patch-9

DiscoverQueryBuilder: add missing whitespace in exception message
This commit is contained in:
Tim Donohue
2025-03-24 09:54:45 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -379,7 +379,7 @@ public class DCInputsReader {
}
// sanity check number of fields
if (fields.size() < 1) {
throw new DCInputsReaderException("Form " + formName + "row " + rowIdx + " has no fields");
throw new DCInputsReaderException("Form " + formName + ", row " + rowIdx + " has no fields");
}
}

View File

@@ -302,7 +302,7 @@ public class DiscoverQueryBuilder implements InitializingBean {
if (StringUtils.isNotBlank(sortBy) && !isConfigured(sortBy, searchSortConfiguration)) {
throw new SearchServiceException(
"The field: " + sortBy + "is not configured for the configuration!");
"The field: " + sortBy + " is not configured for the configuration!");
}