Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit ee79d252 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Remove unnused import and fix formatting in RdfHandler

parent ac15ed9b
......@@ -12,14 +12,13 @@ import org.apache.log4j.LogManager
import org.memobase.rdf.EBUCORE
import org.memobase.rdf.RDF
import org.memobase.rdf.RICO
import java.io.StringReader
class RdfHandler(data: String, private val externalBaseUrl: String) {
private val log = LogManager.getLogger("IngestRdfHandler")
private val model = ModelFactory.createDefaultModel()
init {
RDFDataMgr.read(model, ByteArrayInputStream(data.toByteArray()) , Lang.NTRIPLES)
RDFDataMgr.read(model, ByteArrayInputStream(data.toByteArray()), Lang.NTRIPLES)
fun getRecord(): Pair<String, Model> {
Markdown is supported
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