a0730aa5ced7666a8c92f9fb830b615f5f9f477a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type src : String to iip : INodesInPath in method private getSnapshotsListing(fsd FSDirectory, iip INodesInPath, startAfter byte[]) : DirectoryListing in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Rename Variable | 2 | ||
| Rename Variable policyId : byte to policy : byte in method package getFileInfo(fsd FSDirectory, iip INodesInPath, includeStoragePolicy boolean) : HdfsFileStatus in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Rename Variable cur : INode to child : INode in method private getListing(fsd FSDirectory, iip INodesInPath, startAfter byte[], needLocation boolean, includeStoragePolicy boolean) : DirectoryListing in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Inline Method | 2 | ||
| Inline Method package createFileStatus(fsd FSDirectory, path byte[], nodeAttrs INodeAttributes, storagePolicy byte, iip INodesInPath) : HdfsFileStatus inlined to private createFileStatus(fsd FSDirectory, iip INodesInPath, child INode, storagePolicy byte, needLocation boolean) : HdfsFileStatus in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Inline Method private createLocatedFileStatus(fsd FSDirectory, path byte[], nodeAttrs INodeAttributes, storagePolicy byte, iip INodesInPath) : HdfsFileStatus inlined to private createFileStatus(fsd FSDirectory, iip INodesInPath, child INode, storagePolicy byte, needLocation boolean) : HdfsFileStatus in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method package getAttributes(iip INodesInPath) : INodeAttributes extracted from private getXAttrs(fsd FSDirectory, iip INodesInPath) : List<XAttr> in class org.apache.hadoop.hdfs.server.namenode.FSDirXAttrOp & moved to class org.apache.hadoop.hdfs.server.namenode.FSDirectory | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter src : String to iip : INodesInPath in method private getSnapshotsListing(fsd FSDirectory, iip INodesInPath, startAfter byte[]) : DirectoryListing in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To | |
| Rename Parameter isSuperUser : boolean to includeStoragePolicy : boolean in method private getListing(fsd FSDirectory, iip INodesInPath, startAfter byte[], needLocation boolean, includeStoragePolicy boolean) : DirectoryListing in class org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp | From | To |