Skip to content

Commit f48ed14

Browse files
dnltskderXear
authored andcommitted
changed to expression lambda
1 parent 6a183b8 commit f48ed14

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/dasburo/spring/cache/dynamo/DefaultDynamoCacheWriter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,7 @@ private void putInternal(String name, String key, @Nullable byte[] value, @Nulla
240240
}
241241

242242
if (rootAttributes != null) {
243-
rootAttributes.forEach(rootAttribute -> {
244-
attributeValues.put(rootAttribute.getName(), rootAttribute.getAttributeValue());
245-
});
243+
rootAttributes.forEach(rootAttribute -> attributeValues.put(rootAttribute.getName(), rootAttribute.getAttributeValue()));
246244
}
247245

248246
PutItemRequest putItemRequest = new PutItemRequest()

0 commit comments

Comments
 (0)