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)") } }