01405d9347a3be4295006fc53d239ab3c5be1881
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public retry(failure Throwable) : boolean renamed to public retryOn(failure Throwable) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Rename Method public retryWhen(retryPredicate Predicate<? extends Throwable>) : RetryPolicy renamed to public retryOn(failurePredicate Predicate<? extends Throwable>) : RetryPolicy in class net.jodah.recurrent.RetryPolicy | From | To | |
Rename Method public shouldNotAllowRetriesFor() : void renamed to public testAllowsRetriesForFailure() : void in class net.jodah.recurrent.RetryPolicyTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute retryPredicate : Predicate<Throwable> to failurePredicate : Predicate<Throwable> in class net.jodah.recurrent.RetryPolicy | From | To | |
Extract Variable | 1 | ||
Extract Variable failure : Throwable in method private call(callable Callable<T>, retryPolicy RetryPolicy) : T from class net.jodah.recurrent.Recurrent | From | To | |
Extract Method | 1 | ||
Extract Method private canRetryInternal() : boolean extracted from public canRetryOn(failure Throwable) : boolean in class net.jodah.recurrent.RetryStats | From | To | |
Rename Parameter | 1 | ||
Rename Parameter retryPredicate : Predicate<? extends Throwable> to failurePredicate : Predicate<? extends Throwable> in method public retryOn(failurePredicate Predicate<? extends Throwable>) : RetryPolicy in class net.jodah.recurrent.RetryPolicy | From | To |