From f578b88497e54ad8c0ea9ee8791be2e38b558927 Mon Sep 17 00:00:00 2001 From: Raitis Veinbahs Date: Mon, 6 May 2024 11:31:45 +0200 Subject: [PATCH] formatting --- .../knora/webapi/responders/v2/ValuesResponderV2Spec.scala | 2 +- .../v2/responder/resourcemessages/ResourceMessagesV2.scala | 4 ++-- .../messages/v2/responder/valuemessages/ValueMessagesV2.scala | 4 ++-- .../scala/org/knora/webapi/responders/v2/ResourceUtilV2.scala | 2 +- .../v2/responder/valuemessages/ValueContentV2Spec.scala | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/integration/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala b/integration/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala index b5d0f57700..9f262a3369 100644 --- a/integration/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala +++ b/integration/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala @@ -27,13 +27,13 @@ import org.knora.webapi.messages.util.DatePrecisionYear import org.knora.webapi.messages.util.KnoraSystemInstances import org.knora.webapi.messages.util.PermissionUtilADM import org.knora.webapi.messages.util.search.gravsearch.GravsearchParser -import org.knora.webapi.routing.v2.AssetIngestState import org.knora.webapi.messages.v2.responder.resourcemessages._ import org.knora.webapi.messages.v2.responder.standoffmessages._ import org.knora.webapi.messages.v2.responder.valuemessages._ import org.knora.webapi.models.filemodels.FileModelUtil import org.knora.webapi.models.filemodels.FileType import org.knora.webapi.routing.UnsafeZioRun +import org.knora.webapi.routing.v2.AssetIngestState import org.knora.webapi.sharedtestdata.SharedTestDataADM import org.knora.webapi.slice.admin.domain.model.User import org.knora.webapi.store.iiif.errors.SipiException diff --git a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/resourcemessages/ResourceMessagesV2.scala b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/resourcemessages/ResourceMessagesV2.scala index 9d02f9d93e..1537a5d084 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/resourcemessages/ResourceMessagesV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/resourcemessages/ResourceMessagesV2.scala @@ -30,9 +30,9 @@ import org.knora.webapi.messages.util.standoff.XMLUtil import org.knora.webapi.messages.v2.responder._ import org.knora.webapi.messages.v2.responder.standoffmessages.MappingXMLtoStandoff import org.knora.webapi.messages.v2.responder.valuemessages._ -import org.knora.webapi.slice.admin.api.model.Project import org.knora.webapi.routing.v2.AssetIngestState -import org.knora.webapi.routing.v2.AssetIngestState.* +import org.knora.webapi.routing.v2.AssetIngestState._ +import org.knora.webapi.slice.admin.api.model.Project import org.knora.webapi.slice.admin.domain.model.KnoraProject.ProjectIri import org.knora.webapi.slice.admin.domain.model.Permission import org.knora.webapi.slice.admin.domain.model.User diff --git a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala index 578d5e6c8e..7ce53501c9 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala @@ -41,6 +41,8 @@ import org.knora.webapi.messages.v2.responder.resourcemessages.ReadResourceV2 import org.knora.webapi.messages.v2.responder.standoffmessages._ import org.knora.webapi.routing.RouteUtilV2 import org.knora.webapi.routing.RouteUtilZ +import org.knora.webapi.routing.v2.AssetIngestState +import org.knora.webapi.routing.v2.AssetIngestState._ import org.knora.webapi.slice.admin.api.model.MaintenanceRequests.AssetId import org.knora.webapi.slice.admin.api.model.Project import org.knora.webapi.slice.admin.domain.model.KnoraProject.Shortcode @@ -50,8 +52,6 @@ import org.knora.webapi.slice.resourceinfo.domain.IriConverter import org.knora.webapi.slice.resources.IiifImageRequestUrl import org.knora.webapi.store.iiif.api.FileMetadataSipiResponse import org.knora.webapi.store.iiif.api.SipiService -import org.knora.webapi.routing.v2.AssetIngestState -import org.knora.webapi.routing.v2.AssetIngestState.* import PartialFunction.condOpt diff --git a/webapi/src/main/scala/org/knora/webapi/responders/v2/ResourceUtilV2.scala b/webapi/src/main/scala/org/knora/webapi/responders/v2/ResourceUtilV2.scala index 4fe71631e1..2e6451cbaf 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/v2/ResourceUtilV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/v2/ResourceUtilV2.scala @@ -29,7 +29,7 @@ import org.knora.webapi.messages.v2.responder.valuemessages.FileValueContentV2 import org.knora.webapi.messages.v2.responder.valuemessages.ReadValueV2 import org.knora.webapi.messages.v2.responder.valuemessages.StillImageExternalFileValueContentV2 import org.knora.webapi.routing.v2.AssetIngestState -import org.knora.webapi.routing.v2.AssetIngestState.* +import org.knora.webapi.routing.v2.AssetIngestState._ import org.knora.webapi.slice.admin.domain.model.Permission import org.knora.webapi.slice.admin.domain.model.User import org.knora.webapi.store.triplestore.api.TriplestoreService diff --git a/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueContentV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueContentV2Spec.scala index a44f5c8b12..453edc7aa8 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueContentV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueContentV2Spec.scala @@ -23,7 +23,7 @@ import org.knora.webapi.messages.store.sipimessages.SipiGetTextFileResponse import org.knora.webapi.messages.util.rdf.JsonLDUtil import org.knora.webapi.messages.v2.responder.SuccessResponseV2 import org.knora.webapi.routing.v2.AssetIngestState -import org.knora.webapi.routing.v2.AssetIngestState.* +import org.knora.webapi.routing.v2.AssetIngestState._ import org.knora.webapi.slice.admin.api.model.MaintenanceRequests.AssetId import org.knora.webapi.slice.admin.domain.model.KnoraProject import org.knora.webapi.slice.admin.domain.model.User