From 732a11d9c3997457f9e592349322d3ad26130c88 Mon Sep 17 00:00:00 2001 From: uberto Date: Thu, 5 Sep 2024 20:00:07 +0900 Subject: [PATCH] tidy up --- .../src/main/kotlin/com/ubertob/kondor/json/JDataClass.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kondor-core/src/main/kotlin/com/ubertob/kondor/json/JDataClass.kt b/kondor-core/src/main/kotlin/com/ubertob/kondor/json/JDataClass.kt index 051378a..435d61b 100644 --- a/kondor-core/src/main/kotlin/com/ubertob/kondor/json/JDataClass.kt +++ b/kondor-core/src/main/kotlin/com/ubertob/kondor/json/JDataClass.kt @@ -118,11 +118,8 @@ abstract class JDataClassReflect(val klazz: KClass) : JDataClass( String::class.java -> registerProperty( JsonPropMandatory(field.name, JString)){ o -> field.get(o) as String} } - - registerPropertyHack(prop) {obj -> field. get(obj) } // !!!!!!!! + registerPropertyHack(prop) {obj -> field. get(obj) } } - -// } } \ No newline at end of file