Commit 997686cd authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add trim to output

parent f7836b3c
......@@ -76,7 +76,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
.mapValues { value ->
val out = StringWriter()
value.first.write(out, "NTRIPLES")
out.toString()
out.toString().trim()
}
updateDigitalObjects
......@@ -98,7 +98,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
.mapValues { value ->
val out = StringWriter()
value.first.write(out, "NTRIPLES")
out.toString()
out.toString().trim()
}
unchangedWrittenResources
......
<https://memobase.ch/instantiation/digital/BAZ-MEI_49885-1> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#locator> "sftp://localhost:22000:/test_record_set_1/media/MEI_49885.jpg" .
<https://memobase.ch/instantiation/digital/BAZ-MEI_49885-1> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#locator> "sftp:/test_record_set_1/media/MEI_49885.jpg" .
<https://memobase.ch/instantiation/digital/BAZ-MEI_49885-1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Instantiation> .
<https://memobase.ch/instantiation/digital/BAZ-MEI_49885-1> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/digital/BAZ-MEI_49885-1> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment