Skip to content

Commit 0bff5ec

Browse files
committedAug 24, 2020
Various codegen performance improvements.
Only potentially impacting change: intermediate model is no longer written to disk, because it is not used.
1 parent aad63f4 commit 0bff5ec

File tree

60 files changed

+547
-1123
lines changed

Some content is hidden

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

60 files changed

+547
-1123
lines changed
 

‎bom-internal/pom.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@
4242
<dependency>
4343
<groupId>com.fasterxml.jackson.jr</groupId>
4444
<artifactId>jackson-jr-objects</artifactId>
45-
<version>${jackson.version}</version>
45+
<version>${jacksonjr.version}</version>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.fasterxml.jackson.jr</groupId>
49+
<artifactId>jackson-jr-stree</artifactId>
50+
<version>${jacksonjr.version}</version>
4651
</dependency>
4752
<dependency>
4853
<groupId>org.slf4j</groupId>

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

+14
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@
1616

1717
<FindBugsFilter>
1818

19+
<!-- Ignore Java "Serializable" problems in the code generator. -->
20+
<Match>
21+
<Package name="~software\.amazon\.awssdk\.codegen.*"/>
22+
<Bug pattern="SE_BAD_FIELD,SE_NO_SERIALVERSIONID,SE_BAD_FIELD_STORE"/>
23+
</Match>
24+
25+
26+
<!-- Ignore "confusing name" problems that result of needing to match the inconsistent naming in
27+
the service model. -->
28+
<Match>
29+
<Package name="~software\.amazon\.awssdk\.codegen\.model.*"/>
30+
<Bug pattern="NM_CONFUSING"/>
31+
</Match>
32+
1933
<Match>
2034
<!-- PZLA_PREFER_ZERO_LENGTH_ARRAYS: This rule causes many false positives, because sometimes we want to return
2135
null for arrays. -->

0 commit comments

Comments
 (0)