From e16f02899a08668ed98f8aae0ed6f7add926ecaa Mon Sep 17 00:00:00 2001 From: Wojciech Odrobina Date: Wed, 14 Feb 2024 08:09:31 +0100 Subject: [PATCH] Chore: format kotlin (#258) --- .../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<*>?