Skip to content

Commit 0537ec7

Browse files
committed
Fix inconsistencies, checkstyle suppressions
1 parent 5c6e794 commit 0537ec7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build-tools/src/main/resources/software/amazon/awssdk/checkstyle-suppressions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
<!-- Allow javax.xml.stream in benchmark protocol files (needed for V1 StAX unmarshalling) -->
5454
<suppress checks="software.amazon.awssdk.buildtools.checkstyle.NonJavaBaseModuleCheck"
55-
files=".*benchmark[\\/]protocol[\\/].*\.java$"/>
55+
files=".*benchmark[\\/]protocol[\\/]V1.*\.java$"/>
5656

5757
<!-- Allow private field declaration before public, to have correct initialization order -->
5858
<suppress checks="DeclarationOrder"

test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/protocol/V2RestJsonProtocolBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void setup() throws Exception {
9292
}
9393

9494
@Benchmark
95-
public void createFunctionDeser(Blackhole bh) throws IOException {
95+
public void createFunctionDeser(Blackhole bh) throws Exception {
9696
SdkHttpFullResponse response = SdkHttpFullResponse.builder()
9797
.statusCode(200)
9898
.putHeader("Content-Type", CONTENT_TYPE)

0 commit comments

Comments
 (0)