Skip to content

Commit 25f7bcd

Browse files
committed
ktlint
1 parent e4c5daf commit 25f7bcd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/AwsUserAgentMetadata.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ private fun detectExecEnv(platform: PlatformEnvironProvider): ExecutionEnvMetada
225225
private val VALID_TCHAR_NO_HASH = setOf('!', '$', '%', '&', '\'', '*', '+', '-', '.', '^', '_', '`', '|', '~')
226226
private val VALID_TCHAR = VALID_TCHAR_NO_HASH + '#'
227227

228-
229228
internal fun uaPair(category: String, key: String? = null, value: String? = null): String = when {
230229
key == null && value == null -> category.encodeUaName()
231230
value == null -> "${category.encodeUaName()}/${key!!.encodeUaName()}"

0 commit comments

Comments
 (0)