import net.pterodactylus.sone.data.Sone.*
import net.pterodactylus.sone.database.*
import net.pterodactylus.sone.utils.*
-import net.pterodactylus.util.logging.*
+import java.util.logging.Logger
import javax.inject.Inject
/**
abstract class BasicUpdateSoneProcessor(private val database: Database, private val eventBus: EventBus) :
UpdatedSoneProcessor {
- private val logger = Logging.getLogger(UpdatedSoneProcessor::javaClass.name)!!
+ private val logger = Logger.getLogger(UpdatedSoneProcessor::javaClass.name)!!
override fun updateSone(sone: Sone) {
val storedSone = database.getSone(sone.id) ?: return
import net.pterodactylus.sone.web.SessionProvider
import net.pterodactylus.util.config.*
import net.pterodactylus.util.config.ConfigurationException
-import net.pterodactylus.util.logging.*
import net.pterodactylus.util.version.Version
import java.io.*
import java.util.concurrent.*
import java.util.concurrent.Executors.*
-import java.util.logging.*
+import java.util.logging.Logger
import javax.inject.*
import javax.inject.Singleton
fun getNotificationTicker(): ScheduledExecutorService =
newSingleThreadScheduledExecutor()
- private val logger: Logger = Logging.getLogger(javaClass)
+ private val logger: Logger = Logger.getLogger(javaClass.name)
}