Skip to content

Commit cfbd8e8

Browse files
committed
Format.
1 parent 1baa7e1 commit cfbd8e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/redis/cache/DefaultRedisCacheWriter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,16 @@ public CacheLockingConfiguration sleepTime(Duration sleepTime) {
216216
"Lock sleep time must not be null zero or negative");
217217

218218
this.lockSleepTime = sleepTime;
219+
219220
return this;
220221
}
221222

222223
@Override
223224
public CacheLockingConfiguration lockTimeout(TtlFunction ttlFunction) {
224225

225226
Assert.notNull(ttlFunction, "TTL function must not be null");
226-
227227
this.lockTtlFunction = ttlFunction;
228+
228229
return this;
229230
}
230231

0 commit comments

Comments
 (0)