39c22d657d2daf640cfbdd8c63e5110fc73474fb
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 1 | ||
| Pull Up Method public close(conn FakeConnection) : void from class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProvider to public close(conn FakeConnection) : void from class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProviderBase | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type connector : FakeConnectionProvider to connector : ConnectionProvider<FakeConnection> in method package FakeConnectionManager(queueMaxSize int, maxPoolSize int, connector ConnectionProvider<FakeConnection>) in class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionManager | From | To | |
| Change Return Type | 4 | ||
| Change Return Type long to void in method public connect(listener ConnectionListener<C>, context ContextInternal) : void in class io.vertx.core.http.impl.pool.ConnectionProvider | From | To | |
| Change Return Type long to void in method public connect(listener ConnectionListener<HttpClientConnection>, context ContextInternal) : void in class io.vertx.core.http.impl.HttpChannelConnector | From | To | |
| Change Return Type long to void in method public connect(listener ConnectionListener<FakeConnection>, context ContextInternal) : void in class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProvider | From | To | |
| Change Return Type long to void in method private createConnection(waiter Waiter<C>) : void in class io.vertx.core.http.impl.pool.Pool | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute newWeight : long to initialWeight : long in method private initConnection(holder Holder<C>, context ContextInternal, concurrency long, conn C, channel Channel, weight long) : void in class io.vertx.core.http.impl.pool.Pool | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProviderBase from classes [io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProvider] | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type connector : FakeConnectionProvider to connector : ConnectionProvider<FakeConnection> in class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionManager | From | To | |
| Change Attribute Type pendingRequests : ArrayDeque<FakeConnection> to pendingRequests : Deque<FakeConnection> in class io.vertx.test.core.net.ConnectionPoolTest.FakeConnectionProvider | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter oldWeight : long to weight : long in method private initConnection(holder Holder<C>, context ContextInternal, concurrency long, conn C, channel Channel, weight long) : void in class io.vertx.core.http.impl.pool.Pool | From | To |