47011d7dd300b0c74bb6cfe25b918c479d718f4f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public run(args String[]) : int from class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Diff to public run(args String[]) : int from class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Pull Up Method public run(args String[]) : int from class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Prune to public run(args String[]) : int from class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Move Method | 1 | ||
Move Method public setBucketOption(conf Configuration, bucket String, genericKey String, value String) : void from class org.apache.hadoop.fs.s3a.S3ATestUtils to public setBucketOption(conf Configuration, bucket String, genericKey String, value String) : void from class org.apache.hadoop.fs.s3a.S3AUtils | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to void in method package parseDynamoDBRegion(paths List<String>) : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract Variable | 1 | ||
Extract Variable description : TableDescription in method package initTable() : void from class org.apache.hadoop.fs.s3a.s3guard.DynamoDBMetadataStore | From | To | |
Extract Method | 6 | ||
Extract Method protected toUri(s3Path String) : URI extracted from package initS3AFileSystem(path String) : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract Method protected invalidArgs(format String, args Object...) : ExitUtil.ExitException extracted from package parseDynamoDBRegion(paths List<String>) : boolean in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract Method private errorln() : void extracted from private printHelp() : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract Method private errorln(x String) : void extracted from public main(args String[]) : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract Method private errorln(x String) : void extracted from private printHelp() : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method | 8 | ||
Extract And Move Method private println(out PrintStream, format String, args Object...) : void extracted from private printDiff(msStatus FileStatus, s3Status FileStatus, out PrintStream) : void in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Diff & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method protected toUri(s3Path String) : URI extracted from public run(args String[], out PrintStream) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Diff & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method private println(out PrintStream, format String, args Object...) : void extracted from public run(args String[]) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Destroy & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method protected toUri(s3Path String) : URI extracted from public run(args String[]) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Import & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method private errorln(x String) : void extracted from public run(args String[]) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Init & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method private errorln(x String) : void extracted from public run(args String[], out PrintStream) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Prune & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Extract And Move Method private errorln(x String) : void extracted from public run(args String[]) : int in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.Import & moved to class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To | |
Rename Parameter | 1 | ||
Rename Parameter path : String to s3Path : String in method protected toUri(s3Path String) : URI in class org.apache.hadoop.fs.s3a.s3guard.S3GuardTool | From | To |