d152557cf7f4d2288524c222fcbaf152bdc038b0
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private initAmazonS3Client(conf Configuration, credentials AWSCredentialsProvider, awsConf ClientConfiguration) : void from class org.apache.hadoop.fs.s3a.S3AFileSystem to private createAmazonS3Client(conf Configuration, credentials AWSCredentialsProvider, awsConf ClientConfiguration) : AmazonS3 from class org.apache.hadoop.fs.s3a.S3ClientFactory.DefaultS3ClientFactory | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type client : AmazonS3Client to client : AmazonS3 in method public S3AInputStream(bucket String, key String, contentLength long, client AmazonS3, stats FileSystem.Statistics, instrumentation S3AInstrumentation, readahead long, inputPolicy S3AInputPolicy) in class org.apache.hadoop.fs.s3a.S3AInputStream | From | To | |
Change Parameter Type client : AmazonS3Client to client : AmazonS3 in method public S3AFastOutputStream(client AmazonS3, fs S3AFileSystem, bucket String, key String, progress Progressable, cannedACL CannedAccessControlList, partSize long, multiPartThreshold long, threadPoolExecutor ExecutorService) in class org.apache.hadoop.fs.s3a.S3AFastOutputStream | From | To | |
Move Method | 5 | ||
Move Method package initProxySupport(conf Configuration, awsConf ClientConfiguration, secureConnections boolean) : void from class org.apache.hadoop.fs.s3a.S3AFileSystem to private initProxySupport(conf Configuration, awsConf ClientConfiguration) : void from class org.apache.hadoop.fs.s3a.S3ClientFactory.DefaultS3ClientFactory | From | To | |
Move Method private initUserAgent(conf Configuration, awsConf ClientConfiguration) : void from class org.apache.hadoop.fs.s3a.S3AFileSystem to private initUserAgent(conf Configuration, awsConf ClientConfiguration) : void from class org.apache.hadoop.fs.s3a.S3ClientFactory.DefaultS3ClientFactory | From | To | |
Move Method package intOption(conf Configuration, key String, defVal int, min int) : int from class org.apache.hadoop.fs.s3a.S3AFileSystem to package intOption(conf Configuration, key String, defVal int, min int) : int from class org.apache.hadoop.fs.s3a.S3AUtils | From | To | |
Move Method package longOption(conf Configuration, key String, defVal long, min long) : long from class org.apache.hadoop.fs.s3a.S3AFileSystem to package longOption(conf Configuration, key String, defVal long, min long) : long from class org.apache.hadoop.fs.s3a.S3AUtils | From | To | |
Move Method private enablePathStyleAccessIfRequired(conf Configuration) : void from class org.apache.hadoop.fs.s3a.S3AFileSystem to private enablePathStyleAccessIfRequired(s3 AmazonS3, conf Configuration) : void from class org.apache.hadoop.fs.s3a.S3ClientFactory.DefaultS3ClientFactory | From | To | |
Change Return Type | 2 | ||
Change Return Type void to AmazonS3 in method private createAmazonS3Client(conf Configuration, credentials AWSCredentialsProvider, awsConf ClientConfiguration) : AmazonS3 in class org.apache.hadoop.fs.s3a.S3ClientFactory.DefaultS3ClientFactory | From | To | |
Change Return Type AmazonS3Client to AmazonS3 in method package getAmazonS3Client() : AmazonS3 in class org.apache.hadoop.fs.s3a.S3AFileSystem | From | To | |
Change Variable Type | 4 | ||
Change Variable Type s3 : AmazonS3Client to s3 : AmazonS3 in method public shouldBeAbleToSwitchOnS3PathStyleAccessViaConfigProperty() : void in class org.apache.hadoop.fs.s3a.ITestS3AConfiguration | From | To | |
Change Variable Type s3 : AmazonS3Client to s3 : AmazonS3 in method public testDefaultUserAgent() : void in class org.apache.hadoop.fs.s3a.ITestS3AConfiguration | From | To | |
Change Variable Type s3 : AmazonS3Client to s3 : AmazonS3 in method public testCustomUserAgent() : void in class org.apache.hadoop.fs.s3a.ITestS3AConfiguration | From | To | |
Change Variable Type s3 : AmazonS3Client to s3 : AmazonS3 in method public testEndpoint() : void in class org.apache.hadoop.fs.s3a.ITestS3AConfiguration | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type client : AmazonS3Client to client : AmazonS3 in class org.apache.hadoop.fs.s3a.S3AInputStream | From | To | |
Change Attribute Type s3 : AmazonS3Client to s3 : AmazonS3 in class org.apache.hadoop.fs.s3a.S3AFileSystem | From | To | |
Change Attribute Type client : AmazonS3Client to client : AmazonS3 in class org.apache.hadoop.fs.s3a.S3AFastOutputStream | From | To |