1eb80681700a8dcf268f06b5f227033cd1165bb4
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type CompletableFuture<Pair<String,Long>> to CompletableFuture<ProducerResponse> in method package sendRequestWithId(cmd ByteBuf, requestId long) : CompletableFuture<ProducerResponse> in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type | 4 | ||
Change Variable Type requestFuture : CompletableFuture<Pair<String,Long>> to requestFuture : CompletableFuture<ProducerResponse> in method protected handleSuccess(success CommandSuccess) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type requestFuture : CompletableFuture<Pair<String,Long>> to requestFuture : CompletableFuture<ProducerResponse> in method protected handleProducerSuccess(success CommandProducerSuccess) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type requestFuture : CompletableFuture<Pair<String,Long>> to requestFuture : CompletableFuture<ProducerResponse> in method protected handleError(error CommandError) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type future : CompletableFuture<Pair<String,Long>> to future : CompletableFuture<ProducerResponse> in method package sendRequestWithId(cmd ByteBuf, requestId long) : CompletableFuture<ProducerResponse> in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Extract Method | 1 | ||
Extract Method public newProducer(topic String, producerId long, requestId long, producerName String, encrypted boolean, metadata Map<String,String>, schemaInfo SchemaInfo) : ByteBuf extracted from public newProducer(topic String, producerId long, requestId long, producerName String, encrypted boolean, metadata Map<String,String>) : ByteBuf in class org.apache.pulsar.common.api.Commands | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type pendingRequests : ConcurrentLongHashMap<CompletableFuture<Pair<String,Long>>> to pendingRequests : ConcurrentLongHashMap<CompletableFuture<ProducerResponse>> in class org.apache.pulsar.client.impl.ClientCnx | From | To |