637e2b6ce2303d0bca91f6789ab39835da795d5a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Push Down Method | 3 | ||
| Push Down Method package getContext() : BackOffContext from class org.apache.camel.util.backoff.BackOffTimer.Task to public getContext() : BackOffContext from class org.apache.camel.util.backoff.BackOffTimer.TaskImpl | From | To | |
| Push Down Method package Task(backOff BackOff, function ThrowingFunction<BackOffContext,Boolean,Exception>) from class org.apache.camel.util.backoff.BackOffTimer.Task to package TaskImpl(backOff BackOff, function ThrowingFunction<BackOffContext,Boolean,Exception>) from class org.apache.camel.util.backoff.BackOffTimer.TaskImpl | From | To | |
| Push Down Method public run() : void from class org.apache.camel.util.backoff.BackOffTimer.Task to public run() : void from class org.apache.camel.util.backoff.BackOffTimer.TaskImpl | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass org.apache.camel.util.backoff.BackOffTimer.TaskImpl from class org.apache.camel.util.backoff.BackOffTimer.Task | From | To | |
| Rename Variable | 2 | ||
| Rename Variable future : CompletableFuture<BackOffContext> to task : BackOffTimer.Task in method package start(route RouteHolder) : void in class org.apache.camel.impl.SupervisingRouteController.RouteManager | From | To | |
| Rename Variable future : CompletableFuture<BackOffContext> to task : BackOffTimer.Task in method package release(route RouteHolder) : boolean in class org.apache.camel.impl.SupervisingRouteController.RouteManager | From | To | |
| Change Return Type | 1 | ||
| Change Return Type CompletableFuture<BackOffContext> to Task in method public schedule(backOff BackOff, function ThrowingFunction<BackOffContext,Boolean,Exception>) : Task in class org.apache.camel.util.backoff.BackOffTimer | From | To | |
| Push Down Attribute | 2 | ||
| Push Down Attribute private context : BackOffContext from class org.apache.camel.util.backoff.BackOffTimer.Task to private context : BackOffContext from class org.apache.camel.util.backoff.BackOffTimer.TaskImpl | From | To | |
| Push Down Attribute private function : ThrowingFunction<BackOffContext,Boolean,Exception> from class org.apache.camel.util.backoff.BackOffTimer.Task to private function : ThrowingFunction<BackOffContext,Boolean,Exception> from class org.apache.camel.util.backoff.BackOffTimer.TaskImpl | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type future : CompletableFuture<BackOffContext> to task : BackOffTimer.Task in method package release(route RouteHolder) : boolean in class org.apache.camel.impl.SupervisingRouteController.RouteManager | From | To | |
| Change Variable Type future : CompletableFuture<BackOffContext> to task : BackOffTimer.Task in method package start(route RouteHolder) : void in class org.apache.camel.impl.SupervisingRouteController.RouteManager | From | To | |
| Change Variable Type task : Task to task : TaskImpl in method public schedule(backOff BackOff, function ThrowingFunction<BackOffContext,Boolean,Exception>) : Task in class org.apache.camel.util.backoff.BackOffTimer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type routes : ConcurrentMap<RouteHolder,CompletableFuture<BackOffContext>> to routes : ConcurrentMap<RouteHolder,BackOffTimer.Task> in class org.apache.camel.impl.SupervisingRouteController.RouteManager | From | To |