From d9e547df22bf54bf743afef3747b80d3fc524758 Mon Sep 17 00:00:00 2001 From: Wojciech Odrobina Date: Wed, 14 Feb 2024 07:37:50 +0100 Subject: [PATCH] Chore: format kotlin --- .../kotlin/com/epages/restdocs/apispec/DescriptorExtractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restdocs-api-spec/src/main/kotlin/com/epages/restdocs/apispec/DescriptorExtractor.kt b/restdocs-api-spec/src/main/kotlin/com/epages/restdocs/apispec/DescriptorExtractor.kt index 6b484b7..fd341eb 100644 --- a/restdocs-api-spec/src/main/kotlin/com/epages/restdocs/apispec/DescriptorExtractor.kt +++ b/restdocs-api-spec/src/main/kotlin/com/epages/restdocs/apispec/DescriptorExtractor.kt @@ -35,7 +35,7 @@ internal object DescriptorExtractor { try { val getFieldDescriptors = AbstractFieldsSnippet::class.java.getDeclaredMethod("getFieldDescriptors") getFieldDescriptors.isAccessible = true - var descriptors = getFieldDescriptors.invoke(snippet) as List + var descriptors = getFieldDescriptors.invoke(snippet) as List val getSubsectionExtractor = AbstractFieldsSnippet::class.java.getDeclaredMethod("getSubsectionExtractor") getSubsectionExtractor.isAccessible = true val payloadSubsectionExtractor = getSubsectionExtractor.invoke(snippet) as PayloadSubsectionExtractor<*>?