Skip to content
Snippets Groups Projects
Commit 939b1644 authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

update errors and warnings

parent 93fcfca1
Branches
No related tags found
1 merge request!6add feature to load criteria file from resource and place all criteria files...
......@@ -132,7 +132,7 @@ public class FileListChecker extends Checker implements CorpusFunction {
Set<URI> missingFiles =
expectedFiles.stream().filter((f) -> !presentFiles.contains(f)).collect(Collectors.toSet());
if (!unexpectedFiles.isEmpty())
report.addCritical(getFunction(), ReportItem.newParamMap(new String[]{"function",
report.addWarning(getFunction(), ReportItem.newParamMap(new String[]{"function",
"description", "howtoFix"},
new Object[]{getFunction(),
"Unexpected files encountered:\n" +
......@@ -143,7 +143,7 @@ public class FileListChecker extends Checker implements CorpusFunction {
report.addCritical(getFunction(), ReportItem.newParamMap(new String[]{"function",
"description", "howtoFix"},
new Object[]{getFunction(),
"Files does not exist:\n" +
"Files do not exist:\n" +
missingFiles.stream().map(URI::toString).collect(Collectors.joining("\n")),
"Check the file references in the documentation and remove the reference to " +
"the files if they have been removed intentionally"}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment