d05f8c154d5b83c000a3b1afd547084262161dcf
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type promise : Promise<Boolean> to promise : Promise<RedissonCountDownLatchEntry> in method public RedissonCountDownLatchEntry(promise Promise<RedissonCountDownLatchEntry>) in class org.redisson.RedissonCountDownLatchEntry | From | To | |
| Change Parameter Type promise : Promise<Boolean> to promise : Promise<RedissonLockEntry> in method public RedissonLockEntry(promise Promise<RedissonLockEntry>) in class org.redisson.RedissonLockEntry | From | To | |
| Rename Variable | 2 | ||
| Rename Variable newEntry : RedissonLockEntry to oldValue : RedissonLockEntry in method private subscribe() : Future<RedissonLockEntry> in class org.redisson.RedissonLock | From | To | |
| Rename Variable newEntry : RedissonCountDownLatchEntry to oldValue : RedissonCountDownLatchEntry in method private subscribe() : Future<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatch | From | To | |
| Inline Method | 2 | ||
| Inline Method private aquire() : Promise<Boolean> inlined to private subscribe() : Future<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatch | From | To | |
| Inline Method private aquire() : Promise<Boolean> inlined to private subscribe() : Future<RedissonLockEntry> in class org.redisson.RedissonLock | From | To | |
| Change Return Type | 6 | ||
| Change Return Type void to int in method public release() : int in class org.redisson.RedissonCountDownLatchEntry | From | To | |
| Change Return Type Future<Boolean> to Future<RedissonLockEntry> in method private subscribe() : Future<RedissonLockEntry> in class org.redisson.RedissonLock | From | To | |
| Change Return Type Promise<Boolean> to Promise<RedissonLockEntry> in method public getPromise() : Promise<RedissonLockEntry> in class org.redisson.RedissonLockEntry | From | To | |
| Change Return Type Future<Boolean> to Future<RedissonCountDownLatchEntry> in method private subscribe() : Future<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatch | From | To | |
| Change Return Type Promise<Boolean> to Promise<RedissonCountDownLatchEntry> in method public getPromise() : Promise<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatchEntry | From | To | |
| Change Return Type void to int in method public release() : int in class org.redisson.RedissonLockEntry | From | To | |
| Extract Variable | 2 | ||
| Extract Variable future : Future<RedissonLockEntry> in method public lockInterruptibly(leaseTime long, unit TimeUnit) : void from class org.redisson.RedissonLock | From | To | |
| Extract Variable future : Future<RedissonLockEntry> in method public tryLock(waitTime long, leaseTime long, unit TimeUnit) : boolean from class org.redisson.RedissonLock | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type promise : Future<Boolean> to promise : Future<RedissonCountDownLatchEntry> in method public await() : void in class org.redisson.RedissonCountDownLatch | From | To | |
| Change Variable Type newPromise : Promise<Boolean> to newPromise : Promise<RedissonCountDownLatchEntry> in method private subscribe() : Future<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatch | From | To | |
| Change Variable Type promise : Future<Boolean> to promise : Future<RedissonCountDownLatchEntry> in method public await(time long, unit TimeUnit) : boolean in class org.redisson.RedissonCountDownLatch | From | To | |
| Change Variable Type newPromise : Promise<Boolean> to newPromise : Promise<RedissonLockEntry> in method private subscribe() : Future<RedissonLockEntry> in class org.redisson.RedissonLock | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type promise : Promise<Boolean> to promise : Promise<RedissonCountDownLatchEntry> in class org.redisson.RedissonCountDownLatchEntry | From | To | |
| Change Attribute Type promise : Promise<Boolean> to promise : Promise<RedissonLockEntry> in class org.redisson.RedissonLockEntry | From | To | |
| Extract Method | 1 | ||
| Extract Method private createListener(value RedissonCountDownLatchEntry) : RedisPubSubListener<Integer> extracted from private subscribe() : Future<Boolean> in class org.redisson.RedissonCountDownLatch | From | To |