From c844501cf71df0b7347035895ce28e880ec8f5a9 Mon Sep 17 00:00:00 2001 From: scmacdon Date: Mon, 10 Jun 2024 10:47:15 -0400 Subject: [PATCH] added more lintered files --- kotlin/services/lex/src/main/kotlin/com/kotlin/lex/GetIntent.kt | 2 +- kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PostText.kt | 2 +- kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PutBot.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/GetIntent.kt b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/GetIntent.kt index b3a2a07e11e..c0b479dc89e 100644 --- a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/GetIntent.kt +++ b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/GetIntent.kt @@ -42,7 +42,7 @@ suspend fun main(args: Array) { // snippet-start:[lex.kotlin.get_intent.main] suspend fun getSpecificIntent( intentName: String?, - intentVersion: String?, + intentVersion: String? ) { val request = GetIntentRequest { diff --git a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PostText.kt b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PostText.kt index 0c12a03e7bc..4099cfc8be3 100644 --- a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PostText.kt +++ b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PostText.kt @@ -47,7 +47,7 @@ suspend fun main(args: Array) { suspend fun getText( text: String, botNameVal: String, - botAliasVal: String, + botAliasVal: String ): String? { val userIdVal = "chatbot-demo" val sessionAttributesVal = mutableMapOf() diff --git a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PutBot.kt b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PutBot.kt index 4c604ef2972..3e8f63de9d5 100644 --- a/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PutBot.kt +++ b/kotlin/services/lex/src/main/kotlin/com/kotlin/lex/PutBot.kt @@ -51,7 +51,7 @@ suspend fun main(args: Array) { suspend fun createBot( botNameVal: String?, intentNameVal: String?, - intentVersionVal: String?, + intentVersionVal: String? ) { // Create an Intent object for the bot. val weatherIntent =