Skip to content

Commit 9245dc4

Browse files
committed
remove checkstyle
1 parent a22818f commit 9245dc4

File tree

8 files changed

+0
-246
lines changed

8 files changed

+0
-246
lines changed

codegen/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ plugins {
1717
`java-library`
1818
`maven-publish`
1919
signing
20-
checkstyle
2120
jacoco
2221
id("com.github.spotbugs") version "4.7.4"
2322
id("io.codearte.nexus-staging") version "0.30.0"
@@ -197,18 +196,6 @@ subprojects {
197196
}
198197
}
199198

200-
/*
201-
* CheckStyle
202-
* ====================================================
203-
*/
204-
apply(plugin = "checkstyle")
205-
206-
tasks["checkstyleTest"].enabled = false
207-
208-
checkstyle {
209-
toolVersion = "10.17.0"
210-
}
211-
212199
/*
213200
* Tests
214201
* ====================================================

codegen/config/checkstyle/checkstyle.xml

Lines changed: 0 additions & 207 deletions
This file was deleted.

codegen/config/checkstyle/suppressions.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStdlibTypes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/**
2121
* Collection of Symbol constants for types in the go standard library.
2222
*/
23-
@SuppressWarnings({"checkstyle:ConstantName", "checkstyle:LineLength"})
2423
public final class GoStdlibTypes {
2524
private GoStdlibTypes() { }
2625

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoUniverseTypes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* Collection of Symbol constants for golang universe types.
2222
* See <a href="https://go.dev/ref/spec#Predeclared_identifiers">predeclared identifiers</a>.
2323
*/
24-
@SuppressWarnings("checkstyle:ConstantName")
2524
public final class GoUniverseTypes {
2625
public static final Symbol Any = universe("any");
2726
public static final Symbol Bool = universe("bool");

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ func resolveAuthSchemes(options *Options) {
339339
schemeMappings);
340340
}
341341

342-
@SuppressWarnings("checkstyle:LineLength")
343342
private GoWriter.Writable generateInvokeOperation() {
344343
return goTemplate("""
345344
$middleware:D $tracing:D

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoTypes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/**
2121
* Collection of Symbol constants for types in the smithy-go runtime.
2222
*/
23-
@SuppressWarnings({"checkstyle:ConstantName", "checkstyle:LineLength"})
2423
public final class SmithyGoTypes {
2524
private SmithyGoTypes() { }
2625

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/OperationMetricsStruct.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ private GoWriter.Writable generateStruct() {
6262
""");
6363
}
6464

65-
@SuppressWarnings({"checkstyle:LineLength"})
6665
private GoWriter.Writable generateContextApis() {
6766
return goTemplate("""
6867
type operationMetricsKey struct{}

0 commit comments

Comments
 (0)