Fix Checkstyle in the DynamoDbLockRegistryTests
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user