eee0d4563c62647cfaaed6605ee713aaf69add78
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method package getXAttrs(fsd FSDirectory, inode INode, snapshotId int) : List<XAttr> renamed to package getXAttrByPrefixedName(fsd FSDirectory, inode INode, snapshotId int, prefixedName String) : XAttr in class org.apache.hadoop.hdfs.server.namenode.FSDirXAttrOp | From | To | |
Rename Method public getPrefixName(xAttr XAttr) : String renamed to public getPrefixedName(xAttr XAttr) : String in class org.apache.hadoop.hdfs.XAttrHelper | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public isStoragePolicyXAttr(xattr XAttr) : boolean moved from class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite to class org.apache.hadoop.hdfs.server.namenode.INodeDirectory & inlined to public getLocalStoragePolicyID() : byte | From | To | |
Change Return Type | 3 | ||
Change Return Type ImmutableList<XAttr> to List<XAttr> in method public loadXAttrs(proto XAttrFeatureProto, stringTable String[]) : List<XAttr> in class org.apache.hadoop.hdfs.server.namenode.FSImageFormatPBINode.Loader | From | To | |
Change Return Type List<XAttr> to XAttr in method package getXAttrByPrefixedName(fsd FSDirectory, inode INode, snapshotId int, prefixedName String) : XAttr in class org.apache.hadoop.hdfs.server.namenode.FSDirXAttrOp | From | To | |
Change Return Type ImmutableList<XAttr> to List<XAttr> in method public getXAttrs() : List<XAttr> in class org.apache.hadoop.hdfs.server.namenode.XAttrFeature | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.hdfs.server.namenode.SerialNumberManager.SerialNumberMap moved to org.apache.hadoop.hdfs.server.namenode.SerialNumberMap | From | To | |
Extract Method | 1 | ||
Extract Method public getPrefixedName(ns XAttr.NameSpace, name String) : String extracted from public getPrefixName(xAttr XAttr) : String in class org.apache.hadoop.hdfs.XAttrHelper | From | To |