remove unnecessary generic type definition in RedissonLock.java

Signed-off-by: wynn5a <winminy@163.com>
pull/5100/head
LearningBot 2 years ago committed by wynn5a
parent 5581a0d0e5
commit ff8f8beccc

@ -172,7 +172,7 @@ public class RedissonLock extends RedissonBaseLock {
return new CompletableFutureWrapper<>(f);
}
private <T> RFuture<Long> tryAcquireAsync(long waitTime, long leaseTime, TimeUnit unit, long threadId) {
private RFuture<Long> tryAcquireAsync(long waitTime, long leaseTime, TimeUnit unit, long threadId) {
RFuture<Long> ttlRemainingFuture;
if (leaseTime > 0) {
ttlRemainingFuture = tryLockInnerAsync(waitTime, leaseTime, unit, threadId, RedisCommands.EVAL_LONG);

Loading…
Cancel
Save