a530e7ab3b3f5bd71143a91266b46787962ac532
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public testRetrievingOwnerDoesNotFailWhenFileDoesNotExist() : void from class org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemAuthorizationWithOwner to public testRetrievingOwnerDoesNotFailWhenFileDoesNotExist() : void from class org.apache.hadoop.fs.azure.TestNativeAzureFileSystemAuthorization | From | To | |
Pull Up Method public testOwnerPermissionPositive() : void from class org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemAuthorizationWithOwner to public testOwnerPermissionPositive() : void from class org.apache.hadoop.fs.azure.TestNativeAzureFileSystemAuthorization | From | To | |
Pull Up Method public testOwnerPermissionNegative() : void from class org.apache.hadoop.fs.azure.ITestNativeAzureFileSystemAuthorizationWithOwner to public testOwnerPermissionNegative() : void from class org.apache.hadoop.fs.azure.TestNativeAzureFileSystemAuthorization | From | To | |
Inline Method | 1 | ||
Inline Method public init(conf Configuration, matchOwner boolean) : void inlined to public init(conf Configuration) : void in class org.apache.hadoop.fs.azure.MockWasbAuthorizerImpl | From | To | |
Extract Attribute | 2 | ||
Extract Attribute protected READ : String in class org.apache.hadoop.fs.azure.TestNativeAzureFileSystemAuthorization | From | To | |
Extract Attribute protected WRITE : String in class org.apache.hadoop.fs.azure.TestNativeAzureFileSystemAuthorization | From | To | |
Extract Method | 3 | ||
Extract Method private deleteWithAuthEnabled(f Path, recursive boolean, skipParentFolderLastModifiedTimeUpdate boolean) : boolean extracted from public delete(f Path, recursive boolean, skipParentFolderLastModifiedTimeUpdate boolean) : boolean in class org.apache.hadoop.fs.azure.NativeAzureFileSystem | From | To | |
Extract Method private getChildrenMetadata(key String, maxListingDepth int) : ArrayList<FileMetadata> extracted from public delete(f Path, recursive boolean, skipParentFolderLastModifiedTimeUpdate boolean) : boolean in class org.apache.hadoop.fs.azure.NativeAzureFileSystem | From | To | |
Extract Method private processRules(authRules Map<AuthorizationComponent,Boolean>, component AuthorizationComponent, owner String) : boolean extracted from private authorizeInternal(wasbAbsolutePath String, accessType String, owner String) : boolean in class org.apache.hadoop.fs.azure.MockWasbAuthorizerImpl | From | To |