From 0f6cb63a1091ef84231e9fbab7cd5ccbae49e8cf Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 1 Jan 2023 18:13:19 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BD=D0=B8=D1=84=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B5=D0=B4=D1=83=D0=BF=D1=80?= =?UTF-8?q?=D0=B5=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=BE=20json=20?= =?UTF-8?q?=D1=81=D0=B2=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/dbotthepony/kstarbound/io/json/BuilderAdapter.kt | 2 +- .../ru/dbotthepony/kstarbound/io/json/FactoryAdapter.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/BuilderAdapter.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/BuilderAdapter.kt index 383a27c5..dbcd4b52 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/BuilderAdapter.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/BuilderAdapter.kt @@ -139,7 +139,7 @@ class BuilderAdapter private constructor( } if (!loggedMisses.contains(name)) { - LOGGER.warn("{} has no property for storing {}", instance::class.qualifiedName, name) + LOGGER.warn("${instance::class.qualifiedName} has no property for storing $name") loggedMisses.add(name) } diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/FactoryAdapter.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/FactoryAdapter.kt index e7e4ba34..061ca52a 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/FactoryAdapter.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/io/json/FactoryAdapter.kt @@ -199,9 +199,9 @@ class FactoryAdapter private constructor( if (!storesJson && loggedMisses.add(name)) { if (currentSymbolicName == null) { - LOGGER.warn("Skipping JSON field with name $name because ${bound.simpleName} has no such field") + LOGGER.warn("${bound.qualifiedName} has no property for storing $name") } else { - LOGGER.warn("Skipping JSON field with name $name because ${bound.simpleName} has no such field (reading: $currentSymbolicName)") + LOGGER.warn("${bound.qualifiedName} has no property for storing $name (reading: $currentSymbolicName)") } } @@ -245,9 +245,9 @@ class FactoryAdapter private constructor( if (fieldId == -1) { if (!storesJson && loggedMisses.add(name)) { if (currentSymbolicName == null) { - LOGGER.warn("Skipping JSON field with name $name because ${bound.simpleName} has no such field") + LOGGER.warn("${bound.qualifiedName} has no property for storing $name ") } else { - LOGGER.warn("Skipping JSON field with name $name because ${bound.simpleName} has no such field (reading: $currentSymbolicName)") + LOGGER.warn("${bound.qualifiedName} has no property for storing $name (reading: $currentSymbolicName)") } }