Skip to content

Commit 24715fe

Browse files
committed
Revert " misc: enable custom ktlint rules (#1683)"
This reverts commit 7f4d194.
1 parent aba83a8 commit 24715fe

File tree

45 files changed

+6
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6
-230
lines changed

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/auth/ResolveAuthSchemePreference.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.config.auth
72

83
import aws.sdk.kotlin.runtime.InternalSdkApi

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/checksums/ResolveFlexibleChecksumsConfig.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.config.checksums
72

83
import aws.sdk.kotlin.runtime.InternalSdkApi

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/util/AwsBusinessMetricsTestUtils.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.util
72

83
import aws.sdk.kotlin.runtime.http.interceptors.businessmetrics.AwsBusinessMetric

aws-runtime/aws-config/jvm/test/aws/sdk/kotlin/runtime/auth/credentials/ProfileCredentialsProviderTestJVM.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.auth.credentials
72

83
import aws.sdk.kotlin.runtime.auth.credentials.internal.credentials

aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/IgnoreCompositeFlexibleChecksumResponseInterceptor.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.http.interceptors
72

83
import aws.smithy.kotlin.runtime.client.ProtocolResponseInterceptorContext

aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/businessmetrics/AwsBusinessMetricsUtils.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.runtime.http.interceptors.businessmetrics
72

83
import aws.sdk.kotlin.runtime.http.BUSINESS_METRICS_MAX_LENGTH
@@ -31,9 +26,7 @@ internal fun formatMetrics(metrics: MutableSet<BusinessMetric>, logger: Logger):
3126
true
3227
}
3328
}
34-
if (allowedMetrics.isEmpty()) {
35-
return ""
36-
}
29+
if (allowedMetrics.isEmpty()) return ""
3730
val metricsString = allowedMetrics.joinToString(",", "m/") { it.identifier }
3831
val metricsByteArray = metricsString.encodeToByteArray()
3932

buildSrc/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
plugins {
72
alias(libs.plugins.kotlin.jvm)
83
`kotlin-dsl`

buildSrc/settings.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
rootProject.name = "buildSrc"
72

83
dependencyResolutionManagement {

buildSrc/src/main/kotlin/aws/sdk/kotlin/tests/codegen/CodegenTest.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
package aws.sdk.kotlin.tests.codegen
72

83
/**

buildSrc/src/main/kotlin/dokka-convention.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
61
import org.jsoup.Jsoup
72
import kotlin.io.path.ExperimentalPathApi
83
import kotlin.io.path.PathWalkOption

0 commit comments

Comments
 (0)