31f117138a00794de4951ee8433e304d72b04094
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private appendFileInternal(pc FSPermissionChecker, iip INodesInPath, holder String, clientMachine String, newBlock boolean, logRetryCache boolean) : LocatedBlock from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to package appendFile(fsn FSNamesystem, srcArg String, pc FSPermissionChecker, holder String, clientMachine String, newBlock boolean, logRetryCache boolean) : LastBlockWithStatus from class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp | From | To | |
Move Method | 3 | ||
Move Method private verifyQuotaForUCBlock(file INodeFile, iip INodesInPath) : QuotaCounts from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to private verifyQuotaForUCBlock(fsn FSNamesystem, file INodeFile, iip INodesInPath) : QuotaCounts from class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp | From | To | |
Move Method private computeQuotaDeltaForUCBlock(file INodeFile) : QuotaCounts from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to private computeQuotaDeltaForUCBlock(fsn FSNamesystem, file INodeFile) : QuotaCounts from class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp | From | To | |
Move Method package prepareFileForAppend(src String, iip INodesInPath, leaseHolder String, clientMachine String, newBlock boolean, writeToEditLog boolean, logRetryCache boolean) : LocatedBlock from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to package prepareFileForAppend(fsn FSNamesystem, iip INodesInPath, leaseHolder String, clientMachine String, newBlock boolean, writeToEditLog boolean, logRetryCache boolean) : LocatedBlock from class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp | From | To | |
Rename Variable | 1 | ||
Rename Variable lb : LocatedBlock to lbs : LastBlockWithStatus in method package appendFile(srcArg String, holder String, clientMachine String, flag EnumSet<CreateFlag>, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Inline Method | 1 | ||
Inline Method private appendFileInt(srcArg String, holder String, clientMachine String, newBlock boolean, logRetryCache boolean) : LastBlockWithStatus inlined to package appendFile(srcArg String, holder String, clientMachine String, flag EnumSet<CreateFlag>, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Change Return Type | 1 | ||
Change Return Type LocatedBlock to LastBlockWithStatus in method package appendFile(fsn FSNamesystem, srcArg String, pc FSPermissionChecker, holder String, clientMachine String, newBlock boolean, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable src : String to srcArg : String in method package appendFile(srcArg String, holder String, clientMachine String, flag EnumSet<CreateFlag>, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lb : LocatedBlock to lbs : LastBlockWithStatus in method package appendFile(srcArg String, holder String, clientMachine String, flag EnumSet<CreateFlag>, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Extract Variable | 1 | ||
Extract Variable blockManager : BlockManager in method package prepareFileForTruncate(fsn FSNamesystem, iip INodesInPath, leaseHolder String, clientMachine String, lastBlockDelta long, newBlock Block) : Block from class org.apache.hadoop.hdfs.server.namenode.FSDirTruncateOp | From | To | |
Inline Variable | 1 | ||
Inline Variable src : String in method private appendFileInt(srcArg String, holder String, clientMachine String, newBlock boolean, logRetryCache boolean) : LastBlockWithStatus from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Rename Parameter | 1 | ||
Rename Parameter src : String to srcArg : String in method package appendFile(srcArg String, holder String, clientMachine String, flag EnumSet<CreateFlag>, logRetryCache boolean) : LastBlockWithStatus in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To |