6f3062164961e50c16eb2f6824ca2779027d83e7
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public example() : void renamed to public main(args String...) : void in class net.jodah.recurrent.examples.VertxExample | From | To | |
Rename Method private retryInternal(result Object, failure Throwable, forResultOrFailure boolean) : boolean renamed to private retryOrFail(result Object, failure Throwable, checkArgs boolean) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Rename Variable | 1 | ||
Rename Variable invocation : Invocation to stats : RetryStats in method private call(callable Callable<T>, retryPolicy RetryPolicy) : T in class net.jodah.recurrent.Recurrent | From | To | |
Change Return Type | 2 | ||
Change Return Type void to boolean in method public completeExceptionally(failure Throwable) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Change Return Type void to boolean in method public complete(result Object) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Move Attribute | 1 | ||
Move Attribute protected scheduler : Scheduler from class net.jodah.recurrent.AsyncCallable to private scheduler : Scheduler from class net.jodah.recurrent.Invocation | From | To | |
Change Variable Type | 1 | ||
Change Variable Type invocation : Invocation to stats : RetryStats in method private call(callable Callable<T>, retryPolicy RetryPolicy) : T in class net.jodah.recurrent.Recurrent | From | To | |
Extract Method | 4 | ||
Extract Method private complete(result Object, failure Throwable, checkArgs boolean) : boolean extracted from public complete(result Object) : void in class net.jodah.recurrent.Invocation | From | To | |
Extract Method public complete(result Object, failure Throwable) : boolean extracted from private retryInternal(result Object, failure Throwable, forResultOrFailure boolean) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Extract Method private complete(result Object, failure Throwable, checkArgs boolean) : boolean extracted from private retryInternal(result Object, failure Throwable, forResultOrFailure boolean) : boolean in class net.jodah.recurrent.Invocation | From | To | |
Extract Method private complete(result Object, failure Throwable, checkArgs boolean) : boolean extracted from public completeExceptionally(failure Throwable) : void in class net.jodah.recurrent.Invocation | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package of(future CompletableFuture<T>, scheduler Scheduler) : RecurrentFuture<T> extracted from public future(callable ContextualCallable<java.util.concurrent.CompletableFuture<T>>, retryPolicy RetryPolicy, scheduler Scheduler) : CompletableFuture<T> in class net.jodah.recurrent.Recurrent & moved to class net.jodah.recurrent.RecurrentFuture | From | To | |
Rename Parameter | 1 | ||
Rename Parameter forResultOrFailure : boolean to checkArgs : boolean in method private retryOrFail(result Object, failure Throwable, checkArgs boolean) : boolean in class net.jodah.recurrent.Invocation | From | To |