309d7531c3a130999301bd43bed12f001a638c8e
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method private verifyChecksum(messageId MessageIdData, msgMetadata MessageMetadata, payload ByteBuf, currentCnx ClientCnx) : boolean inlined to package messageReceived(messageId MessageIdData, headersAndPayload ByteBuf, cnx ClientCnx) : void in class com.yahoo.pulsar.client.impl.ConsumerImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable storedChecksum : long to checksum : int in method private verifyChecksum(headersAndPayload ByteBuf) : boolean in class com.yahoo.pulsar.broker.service.Producer | From | To | |
Change Variable Type | 1 | ||
Change Variable Type storedChecksum : long to checksum : int in method private verifyChecksum(headersAndPayload ByteBuf) : boolean in class com.yahoo.pulsar.broker.service.Producer | From | To | |
Extract Method | 1 | ||
Extract Method public newSendError(producerId long, sequenceId long, error ServerError, errorMsg String) : ByteBuf extracted from public newSendError(producerId long, sequenceId long, t Throwable) : ByteBuf in class com.yahoo.pulsar.common.api.Commands | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public hasChecksum(buffer ByteBuf) : boolean extracted from private verifyChecksum(headersAndPayload ByteBuf) : boolean in class com.yahoo.pulsar.broker.service.Producer & moved to class com.yahoo.pulsar.common.api.Commands | From | To |