Skip to content

Commit ca01936

Browse files
committed
remove commented code
1 parent 01507ac commit ca01936

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/ServiceClientCompanionObjectWriter.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class ServiceClientCompanionObjectWriter : AppendingSectionWriter {
3535
declareSection(FinalizeEnvironmentalConfig) {
3636
write("super.#L(builder, sharedConfig, activeProfile)", funName)
3737
writeResolveEndpointUrl()
38-
// writeRegionWithRegionProvider()
3938
}
4039
}
4140
}
@@ -55,16 +54,6 @@ class ServiceClientCompanionObjectWriter : AppendingSectionWriter {
5554
write("#S,", names.sharedConfigKey)
5655
}
5756
}
58-
59-
// private fun KotlinWriter.writeRegionWithRegionProvider() {
60-
// withBlock(
61-
// "builder.config.region = builder.config.region ?: builder.config.regionProvider?.getRegion() ?: #T(",
62-
// ")",
63-
// AwsRuntimeTypes.Config.Region.resolveRegion,
64-
// ) {
65-
// write("profile = activeProfile")
66-
// }
67-
// }
6857
}
6958

7059
internal data class EndpointUrlConfigNames(

0 commit comments

Comments
 (0)