0245c3a4e59a746ba5fc646611518816628c6d57
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 16
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method protected supplySync(supplier Supplier<ExecutionResult>) : Supplier<ExecutionResult> renamed to protected supply(supplier Supplier<ExecutionResult>) : Supplier<ExecutionResult> in class net.jodah.failsafe.PolicyExecutor | From | To | |
| Rename Method protected supplySync(supplier Supplier<ExecutionResult>) : Supplier<ExecutionResult> renamed to protected supply(supplier Supplier<ExecutionResult>) : Supplier<ExecutionResult> in class net.jodah.failsafe.internal.executor.RetryPolicyExecutor | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type fallback : CheckedBiFunction<T,Throwable,T> to fallback : CheckedFunction<ExecutionAttemptedEvent<? extends T>,T> in method package failsafeGet(retryPolicy RetryPolicy<T>, fallback CheckedFunction<ExecutionAttemptedEvent<? extends T>,T>, supplier CheckedSupplier<T>) : T in class net.jodah.failsafe.AbstractFailsafeTest | From | To | |
| Change Parameter Type fallback : CheckedBiFunction<R,Throwable,R> to fallback : CheckedFunction<ExecutionAttemptedEvent,R> in method private Fallback(fallback CheckedFunction<ExecutionAttemptedEvent,R>, async boolean) in class net.jodah.failsafe.Fallback | From | To | |
| Change Parameter Type fallback : CheckedBiFunction<T,Throwable,T> to fallback : CheckedFunction<ExecutionAttemptedEvent<? extends T>,T> in method package failsafeGet(breaker CircuitBreaker<T>, fallback CheckedFunction<ExecutionAttemptedEvent<? extends T>,T>, supplier CheckedSupplier<T>) : T in class net.jodah.failsafe.AbstractFailsafeTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Object to R in method public apply(result R, failure Throwable, context ExecutionContext) : R in class net.jodah.failsafe.Fallback | From | To | |
| Extract Method | 2 | ||
| Extract Method private callSuccessListener(result ExecutionResult) : void extracted from protected postExecute(result ExecutionResult) : ExecutionResult in class net.jodah.failsafe.PolicyExecutor | From | To | |
| Extract Method private callFailureListener(result ExecutionResult) : void extracted from protected postExecute(result ExecutionResult) : ExecutionResult in class net.jodah.failsafe.PolicyExecutor | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type fallback : CheckedBiFunction<R,Throwable,R> to fallback : CheckedFunction<ExecutionAttemptedEvent,R> in class net.jodah.failsafe.Fallback | From | To |