7bdeededfef680a5eea73bbbd4bb857e5c17a1c1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Inline Method | 1 | ||
| Inline Method private tryLockInnerAsync(threadId long) : Future<Long> inlined to private tryAcquireAsync(leaseTime long, unit TimeUnit, threadId long) : Future<Long> in class org.redisson.RedissonLock | From | To | |
| Change Return Type | 3 | ||
| Change Return Type Future<Long> to Future<T> in method package tryLockInnerAsync(leaseTime long, unit TimeUnit, threadId long, command RedisStrictCommand<T>) : Future<T> in class org.redisson.RedissonReadLock | From | To | |
| Change Return Type Future<Long> to Future<T> in method package tryLockInnerAsync(leaseTime long, unit TimeUnit, threadId long, command RedisStrictCommand<T>) : Future<T> in class org.redisson.RedissonLock | From | To | |
| Change Return Type Future<Long> to Future<T> in method package tryLockInnerAsync(leaseTime long, unit TimeUnit, threadId long, command RedisStrictCommand<T>) : Future<T> in class org.redisson.RedissonWriteLock | From | To | |
| Inline Variable | 1 | ||
| Inline Variable threadId : long in method public tryLockAsync() : Future<Boolean> from class org.redisson.RedissonLock | From | To | |
| Extract Method | 1 | ||
| Extract Method private tryAcquireOnceAsync(leaseTime long, unit TimeUnit, threadId long) : Future<Boolean> extracted from public tryLockAsync(threadId long) : Future<Boolean> in class org.redisson.RedissonLock | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter time : long to waitTime : long in method public tryLock(waitTime long, unit TimeUnit) : boolean in class org.redisson.RedissonLock | From | To | |
| Rename Parameter time : long to waitTime : long in method public tryLockAsync(waitTime long, unit TimeUnit) : Future<Boolean> in class org.redisson.RedissonLock | From | To |