Fix Checkstyle in the DynamoDbLockRegistryTests

This commit is contained in:
abilan
2023-02-27 12:20:50 -05:00
parent 594ea58f28
commit 15d149d36d

View File

@@ -341,7 +341,7 @@ public class DynamoDbLockRegistryTests implements LocalstackContainerTest {
assertThat(lock.tryLock()).isTrue();
try {
assertThatNoException().isThrownBy(() ->dynamoDbLockRegistry.renewLock("foo"));
assertThatNoException().isThrownBy(() -> dynamoDbLockRegistry.renewLock("foo"));
}
finally {
lock.unlock();