Skip to content

Commit

Permalink
Fritz2 bump & spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetuska committed Mar 22, 2021
1 parent 8105853 commit 151366c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scanner/src/main/kotlin/scanner/config/di.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import io.ktor.client.features.json.*
import io.ktor.client.features.json.serializer.*
import io.ktor.client.request.*
import io.ktor.http.*
import kotlin.time.*
import org.kodein.di.*
import scanner.client.*
import scanner.domain.*
import scanner.domain.Repository.*
import scanner.processor.*
import scanner.service.*
import scanner.util.*
import kotlin.time.*

fun HttpClientConfig<CIOEngineConfig>.baseConfig() {
val timeout = 2.5.minutes.inMilliseconds.toLong()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package scanner.service

import kamp.domain.*
import kotlin.time.*
import kotlinx.coroutines.*
import kotlinx.coroutines.channels.*
import scanner.client.*
import scanner.domain.*
import scanner.processor.*
import scanner.util.*
import kotlin.time.*

class MavenScannerServiceImpl(
override val client: MavenRepositoryClient<MavenArtifactImpl>,
Expand Down
2 changes: 1 addition & 1 deletion scanner/src/main/kotlin/scanner/service/Orchestrator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package scanner.service

import io.ktor.client.*
import io.ktor.client.request.*
import kotlin.time.*
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import kotlinx.serialization.*
import kotlinx.serialization.json.*
import org.kodein.di.*
import scanner.domain.*
import scanner.util.*
import kotlin.time.*

class Orchestrator(override val di: DI) : DIAware {
private val logger by LoggerDelegate()
Expand Down
4 changes: 2 additions & 2 deletions scanner/src/main/kotlin/scanner/util/LoggerDelegate.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package scanner.util

import org.slf4j.*
import org.slf4j.LoggerFactory.getLogger
import kotlin.properties.*
import kotlin.reflect.*
import kotlin.reflect.full.*
import org.slf4j.*
import org.slf4j.LoggerFactory.getLogger

class LoggerDelegate<in R : Any> : ReadOnlyProperty<R, Logger> {
override fun getValue(thisRef: R, property: KProperty<*>): Logger {
Expand Down

0 comments on commit 151366c

Please sign in to comment.