Commit 6237478c authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Fix import order and other errors reported by ktlint

parent ae559efa
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
package org.memobase package org.memobase
import ch.memobase.sftp.SftpClient import ch.memobase.sftp.SftpClient
import java.io.File
import java.io.StringWriter
import java.net.URI
import org.apache.jena.rdf.model.Model import org.apache.jena.rdf.model.Model
import org.apache.jena.riot.Lang import org.apache.jena.riot.Lang
import org.apache.jena.riot.RDFDataMgr import org.apache.jena.riot.RDFDataMgr
...@@ -26,9 +29,6 @@ import org.fcrepo.client.FcrepoOperationFailedException ...@@ -26,9 +29,6 @@ import org.fcrepo.client.FcrepoOperationFailedException
import org.memobase.fedora.FedoraClient import org.memobase.fedora.FedoraClient
import org.memobase.fedora.FedoraTransactionClient import org.memobase.fedora.FedoraTransactionClient
import org.memobase.fedora.RdfContentTypes import org.memobase.fedora.RdfContentTypes
import java.io.File
import java.io.StringWriter
import java.net.URI
class Ingester( class Ingester(
private val sftpClient: SftpClient, private val sftpClient: SftpClient,
......
...@@ -3,6 +3,7 @@ package org.memobase ...@@ -3,6 +3,7 @@ package org.memobase
import ch.memobase.rdf.EBUCORE import ch.memobase.rdf.EBUCORE
import ch.memobase.rdf.RDF import ch.memobase.rdf.RDF
import ch.memobase.rdf.RICO import ch.memobase.rdf.RICO
import java.io.ByteArrayInputStream
import org.apache.jena.rdf.model.Model import org.apache.jena.rdf.model.Model
import org.apache.jena.rdf.model.ModelFactory import org.apache.jena.rdf.model.ModelFactory
import org.apache.jena.rdf.model.Statement import org.apache.jena.rdf.model.Statement
...@@ -12,7 +13,6 @@ import org.apache.jena.riot.Lang ...@@ -12,7 +13,6 @@ import org.apache.jena.riot.Lang
import org.apache.jena.riot.RDFDataMgr import org.apache.jena.riot.RDFDataMgr
import org.apache.log4j.LogManager import org.apache.log4j.LogManager
import org.memobase.exceptions.MissingMimeTypeException import org.memobase.exceptions.MissingMimeTypeException
import java.io.ByteArrayInputStream
class RdfHandler(data: String, private val externalBaseUrl: String) { class RdfHandler(data: String, private val externalBaseUrl: String) {
private val log = LogManager.getLogger("IngestRdfHandler") private val log = LogManager.getLogger("IngestRdfHandler")
......
...@@ -22,6 +22,8 @@ import ch.memobase.exceptions.SftpClientException ...@@ -22,6 +22,8 @@ import ch.memobase.exceptions.SftpClientException
import ch.memobase.reporting.ReportStatus import ch.memobase.reporting.ReportStatus
import ch.memobase.settings.SettingsLoader import ch.memobase.settings.SettingsLoader
import ch.memobase.sftp.SftpClient import ch.memobase.sftp.SftpClient
import java.io.Closeable
import java.util.Properties
import org.apache.kafka.clients.consumer.ConsumerRecord import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.logging.log4j.LogManager import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.Logger import org.apache.logging.log4j.Logger
...@@ -29,8 +31,6 @@ import org.fcrepo.client.FcrepoOperationFailedException ...@@ -29,8 +31,6 @@ import org.fcrepo.client.FcrepoOperationFailedException
import org.memobase.exceptions.MissingMimeTypeException import org.memobase.exceptions.MissingMimeTypeException
import org.memobase.fedora.FedoraClient import org.memobase.fedora.FedoraClient
import org.memobase.fedora.FedoraClientImpl import org.memobase.fedora.FedoraClientImpl
import java.io.Closeable
import java.util.Properties
class Service(fileName: String = "app.yml") : Closeable { class Service(fileName: String = "app.yml") : Closeable {
......
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