55c07bbed2f475f7b584a86112ee1b6fe0221e98
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type replication : short to replication : Short in method private newINodeFile(id long, permissions PermissionStatus, mtime long, atime long, replication Short, ecPolicyID Byte, preferredBlockSize long, storagePolicyId byte, blockType BlockType) : INodeFile in class org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp | From | To | |
Change Parameter Type replication : short to replication : Short in method public SnapshotCopy(name byte[], permissions PermissionStatus, aclFeature AclFeature, modificationTime long, accessTime long, replication Short, ecPolicyID Byte, preferredBlockSize long, storagePolicyID byte, xAttrsFeature XAttrFeature, blockType BlockType) in class org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes.SnapshotCopy | From | To | |
Change Parameter Type replication : short to replication : Short in method private newINodeFile(id long, permissions PermissionStatus, mtime long, atime long, replication Short, ecPolicyID Byte, preferredBlockSize long, blockType BlockType) : INodeFile in class org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp | From | To | |
Change Parameter Type replication : short to replication : Short in method package INodeFile(id long, name byte[], permissions PermissionStatus, mtime long, atime long, blklist BlockInfo[], replication Short, ecPolicyID Byte, preferredBlockSize long, storagePolicyID byte, blockType BlockType) in class org.apache.hadoop.hdfs.server.namenode.INodeFile | From | To | |
Rename Variable | 3 | ||
Rename Variable blks : BlockInfoContiguous[] to blocks : BlockInfoContiguous[] in method private testSaveAndLoadStripedINodeFile(fsn FSNamesystem, conf Configuration, isUC boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestFSImage | From | To | |
Rename Variable replication : short to erasureCodingPolicyID : byte in method private testSaveAndLoadStripedINodeFile(fsn FSNamesystem, conf Configuration, isUC boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestFSImage | From | To | |
Rename Variable stripedBlks : BlockInfoStriped[] to stripedBlocks : BlockInfoStriped[] in method private testSaveAndLoadStripedINodeFile(fsn FSNamesystem, conf Configuration, isUC boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestFSImage | From | To | |
Change Variable Type | 1 | ||
Change Variable Type replication : short to erasureCodingPolicyID : byte in method private testSaveAndLoadStripedINodeFile(fsn FSNamesystem, conf Configuration, isUC boolean) : void in class org.apache.hadoop.hdfs.server.namenode.TestFSImage | From | To | |
Extract Variable | 2 | ||
Extract Variable replication : Short in method private loadFileDiffList(in InputStream, file INodeFile, size int) : void from class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader | From | To | |
Extract Variable replicationFactor : Short in method private addFile(fsd FSDirectory, existing INodesInPath, localName byte[], permissions PermissionStatus, replication short, preferredBlockSize long, clientName String, clientMachine String) : INodesInPath from class org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp | From | To |