e57c6542c20d2db37837c7a3e72700a8412ae822
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 4 | ||
| Change Parameter Type handler : CustomMessageHandler<SEND,?> to handler : CustomMessageHandler<REQUEST,RESPONSE> in method public registerCustomHandler(messageTypeId int, handler CustomMessageHandler<REQUEST,RESPONSE>, requestSerde Controller.CustomSerDe<REQUEST>, responseSerde Controller.CustomSerDe<RESPONSE>) : void in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry | From | To | |
| Change Parameter Type parser : Parser<RECEIVE> to serde : CustomSerDe<RECEIVE> in method public CustomFuture(serde CustomSerDe<RECEIVE>, future DrillRpcFuture<CustomMessage>) in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomFuture | From | To | |
| Change Parameter Type handler : CustomMessageHandler<SEND,?> to handler : CustomMessageHandler<REQUEST,RESPONSE> in method public ParsingHandler(handler CustomMessageHandler<REQUEST,RESPONSE>, requestSerde Controller.CustomSerDe<REQUEST>, responseSerde Controller.CustomSerDe<RESPONSE>) in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry.ParsingHandler | From | To | |
| Change Parameter Type parser : Parser<RECEIVE> to send : CustomSerDe<SEND> in method private CustomTunnel(messageTypeId int, send CustomSerDe<SEND>, receive CustomSerDe<RECEIVE>) in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomTunnel | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute parser : Parser<SEND> to responseSerde : Controller.CustomSerDe<RESPONSE> in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry.ParsingHandler | From | To | |
| Rename Attribute parser : Parser<RECEIVE> to serde : CustomSerDe<RECEIVE> in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomFuture | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type handler : ParsingHandler<?> to handler : ParsingHandler<?,?> in method public handle(message CustomMessage, dBody DrillBuf) : Response in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry | From | To | |
| Change Variable Type parsingHandler : ParsingHandler<?> to parsingHandler : ParsingHandler<?,?> in method public registerCustomHandler(messageTypeId int, handler CustomMessageHandler<REQUEST,RESPONSE>, requestSerde Controller.CustomSerDe<REQUEST>, responseSerde Controller.CustomSerDe<RESPONSE>) : void in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry | From | To | |
| Extract Method | 1 | ||
| Extract Method public registerCustomHandler(messageTypeId int, handler CustomMessageHandler<REQUEST,RESPONSE>, requestSerde CustomSerDe<REQUEST>, responseSerde CustomSerDe<RESPONSE>) : void extracted from public registerCustomHandler(messageTypeId int, handler CustomMessageHandler<REQUEST,RESPONSE>, parser Parser<REQUEST>) : void in class org.apache.drill.exec.rpc.control.ControllerImpl | From | To | |
| Change Attribute Type | 4 | ||
| Change Attribute Type parser : Parser<RECEIVE> to serde : CustomSerDe<RECEIVE> in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomFuture | From | To | |
| Change Attribute Type parser : Parser<SEND> to responseSerde : Controller.CustomSerDe<RESPONSE> in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry.ParsingHandler | From | To | |
| Change Attribute Type handler : CustomMessageHandler<SEND,?> to handler : CustomMessageHandler<REQUEST,?> in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry.ParsingHandler | From | To | |
| Change Attribute Type handlers : IntObjectHashMap<ParsingHandler<?>> to handlers : IntObjectHashMap<ParsingHandler<?,?>> in class org.apache.drill.exec.rpc.control.CustomHandlerRegistry | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter parser : Parser<RECEIVE> to serde : CustomSerDe<RECEIVE> in method public CustomFuture(serde CustomSerDe<RECEIVE>, future DrillRpcFuture<CustomMessage>) in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomFuture | From | To | |
| Rename Parameter parser : Parser<RECEIVE> to send : CustomSerDe<SEND> in method private CustomTunnel(messageTypeId int, send CustomSerDe<SEND>, receive CustomSerDe<RECEIVE>) in class org.apache.drill.exec.rpc.control.ControlTunnel.CustomTunnel | From | To |