a3954ccab148bddc290cb96528e63ff19799bcc9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 47
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type candidateStorageTypes : StorageType[] to candidates : T[] in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Change Parameter Type storageTypesRequested : StorageType[] to requested : T[] in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Rename Variable | 2 | ||
| Rename Variable storageTypes : StorageType[] to nextStorageTypes : StorageType[] in method protected nextBlockOutputStream() : LocatedBlock in class org.apache.hadoop.hdfs.DataStreamer | From | To | |
| Rename Variable storageType : StorageType to req : T in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Extract Variable | 1 | ||
| Extract Variable block : ExtendedBlock in method private opTransferBlock(in DataInputStream) : void from class org.apache.hadoop.hdfs.protocol.datatransfer.Receiver | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type storageType : StorageType to req : T in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Change Variable Type unseenCandidates : List<StorageType> to unseenCandidates : List in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Change Variable Type proto : OpReplaceBlockProto to proto : OpReplaceBlockProto.Builder in method public replaceBlock(blk ExtendedBlock, storageType StorageType, blockToken Token<BlockTokenIdentifier>, delHint String, source DatanodeInfo, storageId String) : void in class org.apache.hadoop.hdfs.protocol.datatransfer.Sender | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter storageTypesRequested : StorageType[] to requested : T[] in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To | |
| Rename Parameter t : StorageType to storageType : StorageType in method public createRbw(storageType StorageType, id String, b ExtendedBlock, tf boolean) : ReplicaHandler in class org.apache.hadoop.hdfs.server.datanode.extdataset.ExternalDatasetImpl | From | To | |
| Rename Parameter candidateStorageTypes : StorageType[] to candidates : T[] in method public checkAccess(candidates T[], requested T[], msg String) : void in class org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager | From | To |