daf4660eebfa9267e7082f7c9a14c3dd5d6d5d46
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable allocatedBlock : AllocatedBlock to allocatedBlocks : List<AllocatedBlock> in method public allocateScmBlock(controller RpcController, request AllocateScmBlockRequestProto) : AllocateScmBlockResponseProto in class org.apache.hadoop.ozone.protocolPB.ScmBlockLocationProtocolServerSideTranslatorPB | From | To | |
Rename Variable allocatedBlock : AllocatedBlock to allocatedBlocks : List<AllocatedBlock> in method private allocateBlock(keyInfo OmKeyInfo, excludeList ExcludeList, requestedSize long) : List<OmKeyLocationInfo> in class org.apache.hadoop.ozone.om.KeyManagerImpl | From | To | |
Change Return Type | 4 | ||
Change Return Type AllocatedBlock to List<AllocatedBlock> in method public allocateBlock(size long, num int, type HddsProtos.ReplicationType, factor HddsProtos.ReplicationFactor, owner String, excludeList ExcludeList) : List<AllocatedBlock> in class org.apache.hadoop.hdds.scm.server.SCMBlockProtocolServer | From | To | |
Change Return Type AllocatedBlock to List<AllocatedBlock> in method public allocateBlock(size long, num int, type HddsProtos.ReplicationType, factor HddsProtos.ReplicationFactor, owner String, excludeList ExcludeList) : List<AllocatedBlock> in class org.apache.hadoop.hdds.scm.protocolPB.ScmBlockLocationProtocolClientSideTranslatorPB | From | To | |
Change Return Type AllocatedBlock to List<AllocatedBlock> in method public allocateBlock(size long, num int, type HddsProtos.ReplicationType, factor HddsProtos.ReplicationFactor, owner String, excludeList ExcludeList) : List<AllocatedBlock> in class org.apache.hadoop.ozone.om.ScmBlockLocationTestIngClient | From | To | |
Change Return Type AllocatedBlock to List<AllocatedBlock> in method public allocateBlock(size long, numBlocks int, type ReplicationType, factor ReplicationFactor, owner String, excludeList ExcludeList) : List<AllocatedBlock> in class org.apache.hadoop.hdds.scm.protocol.ScmBlockLocationProtocol | From | To | |
Change Variable Type | 2 | ||
Change Variable Type allocatedBlock : AllocatedBlock to allocatedBlocks : List<AllocatedBlock> in method public allocateScmBlock(controller RpcController, request AllocateScmBlockRequestProto) : AllocateScmBlockResponseProto in class org.apache.hadoop.ozone.protocolPB.ScmBlockLocationProtocolServerSideTranslatorPB | From | To | |
Change Variable Type allocatedBlock : AllocatedBlock to allocatedBlocks : List<AllocatedBlock> in method private allocateBlock(keyInfo OmKeyInfo, excludeList ExcludeList, requestedSize long) : List<OmKeyLocationInfo> in class org.apache.hadoop.ozone.om.KeyManagerImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable builder : AllocateScmBlockResponseProto.Builder in method public allocateScmBlock(controller RpcController, request AllocateScmBlockRequestProto) : AllocateScmBlockResponseProto from class org.apache.hadoop.ozone.protocolPB.ScmBlockLocationProtocolServerSideTranslatorPB | From | To |