Skip to content

Commit 2eba510

Browse files
committed
fix format
1 parent 01915e2 commit 2eba510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinValueInstantiator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ internal class KotlinValueInstantiator(
157157
} catch (ex: IllegalAccessException) {
158158
// fallback for when an odd access exception happens through Kotlin reflection
159159
val companionField = possibleCompanion.java.enclosingClass.fields.firstOrNull { it.type.kotlin.isCompanion }
160-
?: throw ex
160+
?: throw ex
161161
val accessible = companionField.isAccessible
162162
if ((!accessible && ctxt.config.isEnabled(MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS)) ||
163163
(accessible && ctxt.config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS))

0 commit comments

Comments
 (0)