From: David ‘Bombe’ Roden Date: Fri, 22 Feb 2019 19:05:38 +0000 (+0100) Subject: Use logging method that’s present in Java 1.7 X-Git-Tag: v79^2~109 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=456676dc95a161603707fc8e2021a6c396ef1e24;p=Sone.git Use logging method that’s present in Java 1.7 --- diff --git a/src/main/kotlin/net/pterodactylus/sone/core/UpdatedSoneProcessor.kt b/src/main/kotlin/net/pterodactylus/sone/core/UpdatedSoneProcessor.kt index 17948c5..580f227 100644 --- a/src/main/kotlin/net/pterodactylus/sone/core/UpdatedSoneProcessor.kt +++ b/src/main/kotlin/net/pterodactylus/sone/core/UpdatedSoneProcessor.kt @@ -32,7 +32,7 @@ abstract class BasicUpdateSoneProcessor(private val database: Database, private override fun updateSone(sone: Sone) { val storedSone = database.getSone(sone.id) ?: return if (!soneCanBeUpdated(storedSone, sone)) { - logger.fine { "Downloaded Sone $sone can not update stored Sone $storedSone." } + logger.fine("Downloaded Sone $sone can not update stored Sone $storedSone.") return } collectEventsForChanges(storedSone, sone)