5a137ef9db4a0579d9564777e42adb798bf9c658
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public withExceptions(runnable Runnable, exceptionConsumer Consumer<Throwable>) : void renamed to public getThrowable(runnable ThrowableRunnable) : Throwable in class net.jodah.recurrent.Testing | From | To | |
| Move And Rename Method | 2 | ||
| Move And Rename Method public getThrowable(runnable ThrowableRunnable) : Throwable from class net.jodah.recurrent.Asserts to public ignoreExceptions(runnable ThrowableRunnable) : void from class net.jodah.recurrent.Testing | From | To | |
| Move And Rename Method public unexceptionally(callable Callable<T>) : T from class net.jodah.recurrent.Asserts to public ignoreExceptions(callable Callable<T>) : T from class net.jodah.recurrent.Testing | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type runnable : Runnable to runnable : ThrowableRunnable in method public getThrowable(runnable ThrowableRunnable) : Throwable in class net.jodah.recurrent.Testing | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Throwable to void in method public ignoreExceptions(runnable ThrowableRunnable) : void in class net.jodah.recurrent.Testing | From | To | |
| Change Return Type void to Throwable in method public getThrowable(runnable ThrowableRunnable) : Throwable in class net.jodah.recurrent.Testing | From | To | |
| Move Class | 1 | ||
| Move Class net.jodah.recurrent.Asserts.ThrowableRunnable moved to net.jodah.recurrent.Testing.ThrowableRunnable | From | To | |
| Extract Variable | 1 | ||
| Extract Variable current : Throwable in method public assertMatches(actual Throwable, throwableHierarchy Class<? extends Throwable>...) : void from class net.jodah.recurrent.Asserts | From | To | |
| Extract Method | 3 | ||
| Extract Method public assertMatches(actual Throwable, throwableHierarchy Class<? extends Throwable>...) : void extracted from public assertThrows(throwable Class<? extends Throwable>, runnable ThrowableRunnable, exceptionConsumer Consumer<Throwable>) : void in class net.jodah.recurrent.Asserts | From | To | |
| Extract Method package scheduleRetry() : void extracted from package recordResult(invocation Invocation, result T, failure Throwable) : void in class net.jodah.recurrent.AsyncCallable | From | To | |
| Extract And Move Method | 3 | ||
| Extract And Move Method public assertThrows(runnable ThrowableRunnable, throwableHierarchy Class<? extends Throwable>...) : void extracted from public shouldGet() : void in class net.jodah.recurrent.RecurrentTest & moved to class net.jodah.recurrent.Asserts | From | To | |
| Extract And Move Method public assertThrows(runnable ThrowableRunnable, throwableHierarchy Class<? extends Throwable>...) : void extracted from private assertRunWithExecutor(runnable Object) : void in class net.jodah.recurrent.RecurrentTest & moved to class net.jodah.recurrent.Asserts | From | To | |
| Extract And Move Method public assertThrows(runnable ThrowableRunnable, throwableHierarchy Class<? extends Throwable>...) : void extracted from public shouldRun() : void in class net.jodah.recurrent.RecurrentTest & moved to class net.jodah.recurrent.Asserts | From | To |