Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Mar 25, 2024
1 parent 3c118c6 commit e6ac5e1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import java.net.URLEncoder
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import scala.util.Try

import org.knora.webapi._
import org.knora.webapi.e2e.ClientTestDataCollector
Expand All @@ -26,7 +27,6 @@ import org.knora.webapi.util._

import pekko.http.scaladsl.model._
import pekko.http.scaladsl.model.headers.Accept
import scala.util.Try

class OntologyFormatsE2ESpec extends E2ESpec {

Expand Down
2 changes: 1 addition & 1 deletion project/LocalSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import Keys.*

object LocalSettings {
val localScalacOptions: Seq[SettingsDefinition] = Seq(
scalacOptions -= "-Xfatal-warnings",
// scalacOptions -= "-Xfatal-warnings",
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package org.knora.webapi.messages.v2.responder.valuemessages

import zio.ZIO

import java.net.URI
import java.time.Instant
import java.util.UUID

import dsp.errors.AssertionException
import dsp.errors.BadRequestException
import dsp.errors.NotFoundException
Expand Down Expand Up @@ -49,8 +51,6 @@ import org.knora.webapi.slice.resourceinfo.domain.IriConverter
import org.knora.webapi.store.iiif.api.FileMetadataSipiResponse
import org.knora.webapi.store.iiif.api.SipiService

import java.net.URI

/**
* A tagging trait for requests handled by [[org.knora.webapi.responders.v2.ValuesResponderV2]].
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package org.knora.webapi.responders.v2
import com.typesafe.scalalogging.LazyLogging
import zio.Task
import zio._

import dsp.errors.ForbiddenException
import org.knora.webapi.IRI
import org.knora.webapi.core.MessageRelay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@

package org.knora.webapi.responders.v2

import org.apache.pekko.http.scaladsl.util.FastFuture
import zio._
import zio.macros.accessible

import java.time.Instant
import java.util.UUID

import dsp.errors._
import dsp.valueobjects.UuidUtil
import org.apache.pekko.http.scaladsl.util.FastFuture
import org.knora.webapi.SchemaRendering.apiV2SchemaWithOption
import org.knora.webapi._
import org.knora.webapi.config.AppConfig
Expand Down Expand Up @@ -41,11 +47,6 @@ import org.knora.webapi.store.triplestore.api.TriplestoreService
import org.knora.webapi.store.triplestore.api.TriplestoreService.Queries.Select
import org.knora.webapi.store.triplestore.api.TriplestoreService.Queries.Update
import org.knora.webapi.util.ZioHelper
import zio._
import zio.macros.accessible

import java.time.Instant
import java.util.UUID

/**
* Handles requests to read and write Knora values.
Expand Down

0 comments on commit e6ac5e1

Please sign in to comment.