ed2497eda96d43ccf4cde396717e47b1afb5d109
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 2 | ||
Move And Inline Method public destroy(executor ExecutorService) : void moved from class org.neo4j.bolt.runtime.CachedThreadPoolExecutorFactory to class org.neo4j.bolt.runtime.CachedThreadPoolExecutorFactoryTest & inlined to public cleanup() : void | From | To | |
Move And Inline Method public destroy(executor ExecutorService) : void moved from class org.neo4j.bolt.runtime.CachedThreadPoolExecutorFactory to class org.neo4j.bolt.runtime.ExecutorBoltScheduler & inlined to public stop() : void | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type shouldContinueScheduling : Object to shouldContinueScheduling : Boolean in method private handleCompletion(connection BoltConnection, shouldContinueScheduling Boolean, error Throwable) : void in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To | |
Change Return Type | 1 | ||
Change Return Type BlockingQueue to BlockingQueue<Runnable> in method private createTaskQueue(queueSize int) : BlockingQueue<Runnable> in class org.neo4j.bolt.runtime.CachedThreadPoolExecutorFactory | From | To | |
Extract Variable | 1 | ||
Extract Variable cachedThreadPool : ExecutorService in method public shutdownShouldTerminateThreadPool() : void from class org.neo4j.bolt.runtime.ExecutorBoltSchedulerTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type currentFuture : CompletableFuture to currentFuture : CompletableFuture<Boolean> in method public closed(connection BoltConnection) : void in class org.neo4j.bolt.runtime.ExecutorBoltScheduler | From | To | |
Extract Method | 1 | ||
Extract Method private enqueueInternal(job Job) : void extracted from public enqueue(job Job) : void in class org.neo4j.bolt.runtime.DefaultBoltConnection | From | To |