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
8ec1a2fd
Commit
8ec1a2fd
authored
3 years ago
by
Lange, Dr. Herbert
Browse files
Options
Downloads
Patches
Plain Diff
add refco version to the report
parent
3a04964b
No related branches found
No related tags found
1 merge request
!4
Feature/new checkers
Pipeline
#11567
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/uni_hamburg/corpora/validation/quest/RefcoChecker.java
+5
-0
5 additions, 0 deletions
...de/uni_hamburg/corpora/validation/quest/RefcoChecker.java
with
5 additions
and
0 deletions
src/main/java/de/uni_hamburg/corpora/validation/quest/RefcoChecker.java
+
5
−
0
View file @
8ec1a2fd
...
...
@@ -57,6 +57,8 @@ import com.fasterxml.jackson.module.jsonSchema.customProperties.HyperSchemaFacto
*/
public
class
RefcoChecker
extends
Checker
implements
CorpusFunction
{
private
final
String
REFCO_CHECKER_VERSION
=
"20220324"
;
// The local logger that can be used for debugging
private
final
Logger
logger
=
Logger
.
getLogger
(
this
.
getClass
().
toString
());
...
...
@@ -686,6 +688,9 @@ public class RefcoChecker extends Checker implements CorpusFunction {
@Override
public
Report
function
(
Corpus
c
,
Boolean
fix
)
throws
NoSuchAlgorithmException
,
ClassNotFoundException
,
FSMException
,
URISyntaxException
,
SAXException
,
IOException
,
ParserConfigurationException
,
JexmaraldaException
,
TransformerException
,
XPathExpressionException
,
JDOMException
{
if
(
refcoFileLoaded
)
{
report
.
addNote
(
getFunction
(),
"Report created by RefCo checker version "
+
REFCO_CHECKER_VERSION
+
" based on documentation following RefCo "
+
criteria
.
refcoVersion
+
" specification version"
);
System
.
out
.
println
(
"... running the corpus function"
);
// Create the current report
//Report report = new Report();
...
...
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