61df1b27a797efd094328c7d9141b9e157e01bf4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type toNewBlock : boolean to flags : EnumSet<CreateFlag> in method package newStreamForAppend(dfsClient DFSClient, src String, flags EnumSet<CreateFlag>, bufferSize int, progress Progressable, lastBlock LocatedBlock, stat HdfsFileStatus, checksum DataChecksum, favoredNodes String[]) : DFSOutputStream in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Parameter Type toNewBlock : boolean to flags : EnumSet<CreateFlag> in method private DFSOutputStream(dfsClient DFSClient, src String, flags EnumSet<CreateFlag>, progress Progressable, lastBlock LocatedBlock, stat HdfsFileStatus, checksum DataChecksum) in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Variable Type | 1 | ||
Change Variable Type fs : FileSystem to fs : DistributedFileSystem in method private testHSyncOperation(testWithAppend boolean) : void in class org.apache.hadoop.hdfs.server.datanode.TestHSync | From | To | |
Extract Method | 1 | ||
Extract Method private testHSyncOperation(testWithAppend boolean) : void extracted from public testHSync() : void in class org.apache.hadoop.hdfs.server.datanode.TestHSync | From | To | |
Rename Parameter | 2 | ||
Rename Parameter toNewBlock : boolean to flags : EnumSet<CreateFlag> in method package newStreamForAppend(dfsClient DFSClient, src String, flags EnumSet<CreateFlag>, bufferSize int, progress Progressable, lastBlock LocatedBlock, stat HdfsFileStatus, checksum DataChecksum, favoredNodes String[]) : DFSOutputStream in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Rename Parameter toNewBlock : boolean to flags : EnumSet<CreateFlag> in method private DFSOutputStream(dfsClient DFSClient, src String, flags EnumSet<CreateFlag>, progress Progressable, lastBlock LocatedBlock, stat HdfsFileStatus, checksum DataChecksum) in class org.apache.hadoop.hdfs.DFSOutputStream | From | To |