d4a8c25bc00bc1d61e1a1f5b4ee34566cdacfe3d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method public createProducerAsync(topic String, conf ProducerConfiguration, producerName String) : CompletableFuture<Producer> inlined to public createProducerAsync(topic String, conf ProducerConfiguration) : CompletableFuture<Producer> in class org.apache.pulsar.client.impl.PulsarClientImpl | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private producerQueueSize : int from class org.apache.pulsar.broker.service.persistent.PersistentReplicator to protected producerQueueSize : int from class org.apache.pulsar.broker.service.AbstractReplicator | From | To | |
Change Return Type | 1 | ||
Change Return Type CompletableFuture<String> to CompletableFuture<Pair<String,Long>> in method package sendRequestWithId(cmd ByteBuf, requestId long) : CompletableFuture<Pair<String,Long>> in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type | 4 | ||
Change Variable Type future : CompletableFuture<String> to future : CompletableFuture<Pair<String,Long>> in method package sendRequestWithId(cmd ByteBuf, requestId long) : CompletableFuture<Pair<String,Long>> in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type requestFuture : CompletableFuture<String> to requestFuture : CompletableFuture<Pair<String,Long>> in method protected handleError(error CommandError) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type requestFuture : CompletableFuture<String> to requestFuture : CompletableFuture<Pair<String,Long>> in method protected handleSuccess(success CommandSuccess) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Change Variable Type requestFuture : CompletableFuture<String> to requestFuture : CompletableFuture<Pair<String,Long>> in method protected handleProducerSuccess(success CommandProducerSuccess) : void in class org.apache.pulsar.client.impl.ClientCnx | From | To | |
Extract Method | 1 | ||
Extract Method public newProducerSuccess(requestId long, producerName String, lastSequenceId long) : ByteBuf extracted from public newProducerSuccess(requestId long, producerName String) : ByteBuf in class org.apache.pulsar.common.api.Commands | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type pendingRequests : ConcurrentLongHashMap<CompletableFuture<String>> to pendingRequests : ConcurrentLongHashMap<CompletableFuture<Pair<String,Long>>> in class org.apache.pulsar.client.impl.ClientCnx | From | To |