2c6d8686488bd392e3466ad8838d88b1df5f6082
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 3 | ||
Extract Method public releaseAsync(permits int) : Future<Void> extracted from public release(permits int) : void in class org.redisson.RedissonSemaphore | From | To | |
Extract Method public tryAcquireAsync(permits int) : Future<Boolean> extracted from public tryAcquire(permits int) : boolean in class org.redisson.RedissonSemaphore | From | To | |
Extract Method public setPermitsAsync(permits int) : Future<Void> extracted from public setPermits(permits int) : void in class org.redisson.RedissonSemaphore | From | To | |
Rename Parameter | 1 | ||
Rename Parameter timeout : long to waitTime : long in method public tryAcquire(waitTime long, unit TimeUnit) : boolean in class org.redisson.core.RSemaphore | From | To |