From a317066558e678c0e8e245480529721f0b8bc4de Mon Sep 17 00:00:00 2001 From: Albert Chae Date: Thu, 7 Nov 2024 07:42:06 -0800 Subject: [PATCH] fmt --- inngest/src/main/kotlin/com/inngest/State.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inngest/src/main/kotlin/com/inngest/State.kt b/inngest/src/main/kotlin/com/inngest/State.kt index 0c640b6..a990728 100644 --- a/inngest/src/main/kotlin/com/inngest/State.kt +++ b/inngest/src/main/kotlin/com/inngest/State.kt @@ -72,7 +72,10 @@ class State( return null } - private fun deserializeStepData(serializedStepData: JsonNode?, type: Class): T? { + private fun deserializeStepData( + serializedStepData: JsonNode?, + type: Class, + ): T? { val mapper = ObjectMapper() if (serializedStepData == null || !serializedStepData.isObject || !serializedStepData.has("class")) { // null and primitives can be deserialized directly