Skip to content

Commit ce5ca28

Browse files
John Viegasjoviegas
John Viegas
authored andcommitted
Upgrade com.puppycrawl.tools to 8.38
1 parent 8db24fd commit ce5ca28

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
<dependency>
207207
<groupId>com.puppycrawl.tools</groupId>
208208
<artifactId>checkstyle</artifactId>
209-
<version>8.29</version>
209+
<version>8.38</version>
210210
</dependency>
211211
<dependency>
212212
<groupId>org.apache.maven.plugins</groupId>

build-tools/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>com.puppycrawl.tools</groupId>
6868
<artifactId>checkstyle</artifactId>
69-
<version>8.29</version>
69+
<version>8.38</version>
7070
</dependency>
7171
</dependencies>
7272

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
<maven.build.timestamp.format>yyyy</maven.build.timestamp.format>
137137
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
138138
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
139-
<checkstyle.version>8.29</checkstyle.version>
139+
<checkstyle.version>8.38</checkstyle.version>
140140
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
141141
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
142142
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>

services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/CreateTableOperation.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,14 @@ public CreateTableRequest generateRequest(TableSchema<T> tableSchema,
114114
.map(attribute ->
115115
AttributeDefinition.builder()
116116
.attributeName(attribute)
117-
.attributeType(tableSchema.tableMetadata()
118-
.scalarAttributeType(attribute)
119-
.orElseThrow(() ->
120-
new IllegalArgumentException("Could not map the key attribute '" + attribute +
121-
"' to a valid scalar type.")))
122-
.build())
123-
.collect(Collectors.toList());
117+
.attributeType(tableSchema
118+
.tableMetadata().scalarAttributeType(attribute)
119+
.orElseThrow(() ->
120+
new IllegalArgumentException(
121+
"Could not map the key attribute '" + attribute +
122+
"' to a valid scalar type.")))
123+
.build())
124+
.collect(Collectors.toList());
124125

125126
BillingMode billingMode = this.request.provisionedThroughput() == null ?
126127
BillingMode.PAY_PER_REQUEST :

0 commit comments

Comments
 (0)