982501a5ed2c5b0eb55a24a87e98bd871c59068a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method package complete(result R, failure Throwable, context ExecutionContext, success boolean) : void renamed to package handleComplete(result R, failure Throwable, context ExecutionContext, success boolean) : void in class net.jodah.failsafe.ListenerConfig | From | To | |
| Move Attribute | 2 | ||
| Move Attribute package waiter : Waiter from class net.jodah.failsafe.ListenerConfigTest to package waiter : Waiter from class net.jodah.failsafe.ListenerConfigTest.ListenerCounter | From | To | |
| Move Attribute package waiter : Waiter from class net.jodah.failsafe.AsyncListenerConfigTest to package waiter : Waiter from class net.jodah.failsafe.ListenerConfigTest.ListenerCounter | From | To | |
| Extract Class | 1 | ||
| Extract Class net.jodah.failsafe.ListenerConfigTest.ListenerCounter from class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Rename Attribute | 5 | ||
| Rename Attribute abortPredicates : List<BiPredicate<Object,Throwable>> to abortConditions : List<BiPredicate<Object,Throwable>> in class net.jodah.failsafe.RetryPolicy | From | To | |
| Rename Attribute failureConditionChecked : boolean to failuresChecked : boolean in class net.jodah.failsafe.CircuitBreaker | From | To | |
| Rename Attribute failureConditionChecked : boolean to failuresChecked : boolean in class net.jodah.failsafe.RetryPolicy | From | To | |
| Rename Attribute retryPredicates : List<BiPredicate<Object,Throwable>> to retryConditions : List<BiPredicate<Object,Throwable>> in class net.jodah.failsafe.RetryPolicy | From | To | |
| Rename Attribute failurePredicates : List<BiPredicate<Object,Throwable>> to failureConditions : List<BiPredicate<Object,Throwable>> in class net.jodah.failsafe.CircuitBreaker | From | To | |
| Extract Variable | 2 | ||
| Extract Variable retryPolicy : RetryPolicy in method public testListenersForAbort() : void from class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Extract Variable retryPolicy : RetryPolicy in method public testListenersForAbort() : void from class net.jodah.failsafe.AsyncListenerConfigTest | From | To | |
| Change Attribute Type | 6 | ||
| Change Attribute Type failedAttempt : AtomicInteger to failedAttempt : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Change Attribute Type failure : AtomicInteger to failure : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Change Attribute Type retry : AtomicInteger to retry : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Change Attribute Type success : AtomicInteger to success : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Change Attribute Type abort : AtomicInteger to abort : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To | |
| Change Attribute Type complete : AtomicInteger to complete : ListenerCounter in class net.jodah.failsafe.ListenerConfigTest | From | To |