a451495691f7e57de33344899e3ea2e0383a14be
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testExceptions() : void renamed to public testRuntimeException_doesNotStopExecution() : void in class com.google.common.util.concurrent.SerializingExecutorTest | From | To | |
Rename Variable | 2 | ||
Rename Variable nextToRun : Runnable to task : Runnable in method private workOnQueue() : void in class com.google.common.util.concurrent.SerializingExecutor.QueueWorker | From | To | |
Rename Variable threw : boolean to executionRejected : boolean in method private startQueueWorker() : void in class com.google.common.util.concurrent.SerializingExecutor | From | To | |
Rename Class | 1 | ||
Rename Class com.google.common.util.concurrent.SerializingExecutor.TaskRunner renamed to com.google.common.util.concurrent.SerializingExecutor.QueueWorker | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute stillRunning : boolean to isWorkerRunning : boolean in method private workOnQueue() : void in class com.google.common.util.concurrent.SerializingExecutor.QueueWorker | From | To | |
Rename Attribute | 1 | ||
Rename Attribute waitQueue : Queue<Runnable> to queue : Deque<Runnable> in class com.google.common.util.concurrent.SerializingExecutor | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type waitQueue : Queue<Runnable> to queue : Deque<Runnable> in class com.google.common.util.concurrent.SerializingExecutor | From | To | |
Extract Method | 2 | ||
Extract Method private workOnQueue() : void extracted from public run() : void in class com.google.common.util.concurrent.SerializingExecutor.QueueWorker | From | To | |
Extract Method private startQueueWorker() : void extracted from public execute(r Runnable) : void in class com.google.common.util.concurrent.SerializingExecutor | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method package runAll() : void extracted from public testBasics() : void in class com.google.common.util.concurrent.SerializingExecutorTest & moved to class com.google.common.util.concurrent.SerializingExecutorTest.FakeExecutor | From | To | |
Extract And Move Method package runAll() : void extracted from public testExceptions() : void in class com.google.common.util.concurrent.SerializingExecutorTest & moved to class com.google.common.util.concurrent.SerializingExecutorTest.FakeExecutor | From | To | |
Extract And Move Method package runAll() : void extracted from public testOrdering() : void in class com.google.common.util.concurrent.SerializingExecutorTest & moved to class com.google.common.util.concurrent.SerializingExecutorTest.FakeExecutor | From | To | |
Rename Parameter | 1 | ||
Rename Parameter r : Runnable to task : Runnable in method public execute(task Runnable) : void in class com.google.common.util.concurrent.SerializingExecutor | From | To |