a7acd431fa71b18a09310216c47cef48533fe109
Files Diff
- Added: 5
- Removed: 2
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method package done() : void from class com.google.common.util.concurrent.CollectionFuture to package done() : void from class com.google.common.util.concurrent.AggregateFuture | From | To | |
Pull Up Method public cancel(mayInterruptIfRunning boolean) : boolean from class com.google.common.util.concurrent.CollectionFuture to public cancel(mayInterruptIfRunning boolean) : boolean from class com.google.common.util.concurrent.AggregateFuture | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private setExceptionAndMaybeLog(throwable Throwable) : void from class com.google.common.util.concurrent.CollectionFuture to private handleException(throwable Throwable) : void from class com.google.common.util.concurrent.AggregateFuture.RunningState | From | To | |
Rename Variable | 1 | ||
Rename Variable currentRunner : Thread to localTask : TrutestedFutureInterruptibleTask in method protected interruptTask() : void in class com.google.common.util.concurrent.TrustedListenableFutureTask | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private logger : Logger from class com.google.common.util.concurrent.CollectionFuture to private logger : Logger from class com.google.common.util.concurrent.AggregateFuture | From | To | |
Move Attribute | 5 | ||
Move Attribute private runner : Thread from class com.google.common.util.concurrent.TrustedListenableFutureTask to private runner : Thread from class com.google.common.util.concurrent.InterruptibleTask | From | To | |
Move Attribute private allMustSucceed : boolean from class com.google.common.util.concurrent.CollectionFuture to private allMustSucceed : boolean from class com.google.common.util.concurrent.AggregateFuture.RunningState | From | To | |
Move Attribute private doneInterrupting : boolean from class com.google.common.util.concurrent.TrustedListenableFutureTask to private doneInterrupting : boolean from class com.google.common.util.concurrent.InterruptibleTask | From | To | |
Move Attribute private seenExceptions : Set<Throwable> from class com.google.common.util.concurrent.CollectionFuture to private seenExceptions : Set<Throwable> from class com.google.common.util.concurrent.AggregateFutureState | From | To | |
Move Attribute private values : List<Optional<V>> from class com.google.common.util.concurrent.CollectionFuture to private values : List<Optional<V>> from class com.google.common.util.concurrent.CollectionFuture.CollectionFutureRunningState | From | To | |
Extract Class | 3 | ||
Extract Class com.google.common.util.concurrent.InterruptibleTask from class com.google.common.util.concurrent.TrustedListenableFutureTask | From | To | |
Extract Class com.google.common.util.concurrent.AggregateFuture.RunningState from class com.google.common.util.concurrent.CollectionFuture | From | To | |
Extract Class com.google.common.util.concurrent.AggregateFutureState from class com.google.common.util.concurrent.CollectionFuture | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.google.common.util.concurrent.AggregateFuture from classes [com.google.common.util.concurrent.CollectionFuture] | From | To | |
Change Variable Type | 2 | ||
Change Variable Type localTask : Callable<V> to localTask : TrutestedFutureInterruptibleTask in method public run() : void in class com.google.common.util.concurrent.TrustedListenableFutureTask | From | To | |
Change Variable Type currentRunner : Thread to localTask : TrutestedFutureInterruptibleTask in method protected interruptTask() : void in class com.google.common.util.concurrent.TrustedListenableFutureTask | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type task : Callable<V> to task : TrutestedFutureInterruptibleTask in class com.google.common.util.concurrent.TrustedListenableFutureTask | From | To |