Skip to content

Fix inconsistencies, checkstyle suppressions

0537ec7
Select commit
Loading
Failed to load commit list.
Open

Add Ser/De protocol benchmarks #6776

Fix inconsistencies, checkstyle suppressions
0537ec7
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 12, 2026 in 15m 58s

Quality Gate failed

Annotations

Check warning on line 60 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1CborProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsdUoaLmg3Mkihb&open=AZzbtRsdUoaLmg3Mkihb&pullRequest=6776

Check warning on line 66 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1RestJsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtSUoaLmg3Mkihs&open=AZzbtRtSUoaLmg3Mkihs&pullRequest=6776

Check warning on line 81 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2CborProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRslUoaLmg3Mkihd&open=AZzbtRslUoaLmg3Mkihd&pullRequest=6776

Check warning on line 90 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtBUoaLmg3Mkihk&open=AZzbtRtBUoaLmg3Mkihk&pullRequest=6776

Check warning on line 103 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtBUoaLmg3Mkihl&open=AZzbtRtBUoaLmg3Mkihl&pullRequest=6776

Check warning on line 62 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtBUoaLmg3Mkihn&open=AZzbtRtBUoaLmg3Mkihn&pullRequest=6776

Check warning on line 95 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestJsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZze0sNpw1IpEXk93oNc&open=AZze0sNpw1IpEXk93oNc&pullRequest=6776

Check warning on line 116 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsLUoaLmg3MkihV&open=AZzbtRsLUoaLmg3MkihV&pullRequest=6776

Check warning on line 131 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtcUoaLmg3Mkihz&open=AZzbtRtcUoaLmg3Mkihz&pullRequest=6776

Check warning on line 129 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsLUoaLmg3MkihW&open=AZzbtRsLUoaLmg3MkihW&pullRequest=6776

Check warning on line 76 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsLUoaLmg3MkihY&open=AZzbtRsLUoaLmg3MkihY&pullRequest=6776

Check warning on line 68 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsUUoaLmg3Mkiha&open=AZzbtRsUUoaLmg3Mkiha&pullRequest=6776

Check warning on line 84 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestJsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtJUoaLmg3Mkiho&open=AZzbtRtJUoaLmg3Mkiho&pullRequest=6776

Check warning on line 111 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtcUoaLmg3Mkihx&open=AZzbtRtcUoaLmg3Mkihx&pullRequest=6776

Check warning on line 138 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestJsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtJUoaLmg3Mkihp&open=AZzbtRtJUoaLmg3Mkihp&pullRequest=6776

Check warning on line 109 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtcUoaLmg3Mkihu&open=AZzbtRtcUoaLmg3Mkihu&pullRequest=6776

Check warning on line 122 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtcUoaLmg3Mkihy&open=AZzbtRtcUoaLmg3Mkihy&pullRequest=6776

Check warning on line 68 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2QueryProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRs3UoaLmg3Mkihj&open=AZzbtRs3UoaLmg3Mkihj&pullRequest=6776

Check warning on line 92 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2CborProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRslUoaLmg3Mkihe&open=AZzbtRslUoaLmg3Mkihe&pullRequest=6776

Check warning on line 116 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestXmlProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtcUoaLmg3Mkihw&open=AZzbtRtcUoaLmg3Mkihw&pullRequest=6776

Check warning on line 124 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2CborProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRslUoaLmg3Mkihg&open=AZzbtRslUoaLmg3Mkihg&pullRequest=6776

Check warning on line 59 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V1Ec2ProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsuUoaLmg3Mkihi&open=AZzbtRsuUoaLmg3Mkihi&pullRequest=6776

Check warning on line 129 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestJsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider using the Consumer Builder method instead of creating this nested builder.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRtJUoaLmg3Mkihr&open=AZzbtRtJUoaLmg3Mkihr&pullRequest=6776

Check warning on line 131 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2JsonProtocolBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzbtRsLUoaLmg3MkihX&open=AZzbtRsLUoaLmg3MkihX&pullRequest=6776

Check warning on line 28 in services/cloudfront/src/test/java/software/amazon/awssdk/services/cloudfront/CloudFrontUtilitiesIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.security.Key'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZzkBOK_s2yxA_6A_Dsc&open=AZzkBOK_s2yxA_6A_Dsc&pullRequest=6776