Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
corpus-services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lange, Dr. Herbert
corpus-services
Commits
939b1644
Commit
939b1644
authored
May 16, 2022
by
Lange, Dr. Herbert
Browse files
Options
Downloads
Patches
Plain Diff
update errors and warnings
parent
93fcfca1
Branches
Branches containing commit
No related tags found
1 merge request
!6
add feature to load criteria file from resource and place all criteria files...
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/uni_hamburg/corpora/validation/quest/FileListChecker.java
+2
-2
2 additions, 2 deletions
...uni_hamburg/corpora/validation/quest/FileListChecker.java
with
2 additions
and
2 deletions
src/main/java/de/uni_hamburg/corpora/validation/quest/FileListChecker.java
+
2
−
2
View file @
939b1644
...
...
@@ -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
.
add
Critical
(
getFunction
(),
ReportItem
.
newParamMap
(
new
String
[]{
"function"
,
report
.
add
Warning
(
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 do
es
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"
}));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment