1f117724a1d9a51a4c02accadcc7e8786a1bf130
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type scheme : String to uri : Uri in method public getBootstrap(uri Uri, useProxy boolean) : ClientBootstrap in class org.asynchttpclient.netty.channel.ChannelManager | From | To | |
| Move Method | 1 | ||
| Move Method public getSchemeDefaultPort(scheme String) : int from class org.asynchttpclient.util.AsyncHttpProviderUtils to public getSchemeDefaultPort() : int from class org.asynchttpclient.uri.Uri | From | To | |
| Move Attribute | 4 | ||
| Move Attribute public WS : String from class org.asynchttpclient.util.HttpUtils to public WS : String from class org.asynchttpclient.uri.Uri | From | To | |
| Move Attribute public HTTPS : String from class org.asynchttpclient.util.HttpUtils to public HTTPS : String from class org.asynchttpclient.uri.Uri | From | To | |
| Move Attribute public HTTP : String from class org.asynchttpclient.util.HttpUtils to public HTTP : String from class org.asynchttpclient.uri.Uri | From | To | |
| Move Attribute public WSS : String from class org.asynchttpclient.util.HttpUtils to public WSS : String from class org.asynchttpclient.uri.Uri | From | To | |
| Merge Parameter | 2 | ||
| Merge Parameter [host : String, port : int] to requestUri : Uri in method public upgradeProtocol(pipeline ChannelPipeline, requestUri Uri) : void in class org.asynchttpclient.netty.channel.ChannelManager | From | To | |
| Inline Variable | 2 | ||
| Inline Variable scheme : String in method private exitAfterHandlingConnect(channel Channel, future NettyResponseFuture<?>, request Request, proxyServer ProxyServer, statusCode int, httpRequest HttpRequest) : boolean from class org.asynchttpclient.netty.handler.HttpProtocol | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public useProxyConnect() : boolean extracted from public sendRequest(request Request, asyncHandler AsyncHandler<T>, future NettyResponseFuture<T>, reclaimCache boolean) : ListenableFuture<T> in class org.asynchttpclient.netty.request.NettyRequestSender & moved to class org.asynchttpclient.uri.Uri | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter scheme : String to uri : Uri in method public getBootstrap(uri Uri, useProxy boolean) : ClientBootstrap in class org.asynchttpclient.netty.channel.ChannelManager | From | To |