61ab0440f7eaff0f631cbae0378403912f88d7ad
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private convertIntArray(liveBlockIndices short[]) : List<Integer> renamed to private asList(arr short[]) : List<Integer> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Variable | 2 | ||
Rename Variable liveBlockIndicesList : List<Integer> to list : List<Integer> in method private asList(arr short[]) : List<Integer> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Variable trimmedStorageInfos : DatanodeStorageInfo[] to dsInfos : DatanodeStorageInfo[] in method package commitBlockSynchronization(oldBlock ExtendedBlock, newgenerationstamp long, newlength long, closeFile boolean, deleteblock boolean, newtargets DatanodeID[], newtargetstorages String[]) : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Change Variable Type | 1 | ||
Change Variable Type s : short to s : int in method private asList(arr short[]) : List<Integer> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Parameter | 1 | ||
Rename Parameter liveBlockIndices : short[] to arr : short[] in method private asList(arr short[]) : List<Integer> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To |