b94b5021b83e7912546859908c96f8a44382f47b
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Attribute | 3 | ||
Move Attribute private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestBuckets to private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestKeys.PutHelper | From | To | |
Move Attribute private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestVolume to private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestKeys.PutHelper | From | To | |
Move Attribute private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestKeys to private client : OzoneRestClient from class org.apache.hadoop.ozone.web.client.TestKeys.PutHelper | From | To | |
Rename Attribute | 4 | ||
Rename Attribute client : OzoneRestClient to ozoneRestClient : OzoneRestClient in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Rename Attribute client : OzoneRestClient to ozoneRestClient : OzoneRestClient in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Rename Attribute client : OzoneRestClient to ozoneRestClient : OzoneRestClient in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Rename Attribute cluster : MiniOzoneCluster to ozoneCluster : MiniOzoneCluster in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Variable | 1 | ||
Extract Variable uri : String in method public listKeys(resultLength String, previousKey String, prefix String) : List<OzoneKey> from class org.apache.hadoop.ozone.web.client.OzoneBucket | From | To | |
Extract Method | 20 | ||
Extract Method package runTestListVolume(client OzoneRestClient) : void extracted from public testListVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestChangeOwnerOnVolume(client OzoneRestClient) : void extracted from public testChangeOwnerOnVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestRemoveBucketAcls(client OzoneRestClient) : void extracted from public testRemoveBucketAcls() : void in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Extract Method package runTestGetKeyInfo(helper PutHelper) : void extracted from public testGetKeyInfo() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestDeleteVolume(client OzoneRestClient) : void extracted from public testDeleteVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestPutKey(helper PutHelper) : void extracted from public testPutKey() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestListBucket(client OzoneRestClient) : void extracted from public testListBucket() : void in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Extract Method package runTestCreateBucket(client OzoneRestClient) : void extracted from public testCreateBucket() : void in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Extract Method package runTestPutAndListKey(helper PutHelper) : void extracted from public testPutAndListKey() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestPutAndGetKey(helper PutHelper) : void extracted from public testPutAndGetKey() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestPutAndDeleteKey(helper PutHelper) : void extracted from public testPutAndDeleteKey() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestPutAndGetKeyWithDnRestart(helper PutHelper, cluster MiniOzoneCluster) : void extracted from public testPutAndGetKeyWithDnRestart() : void in class org.apache.hadoop.ozone.web.client.TestKeys | From | To | |
Extract Method package runTestCreateVolume(client OzoneRestClient) : void extracted from public testCreateVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestListAllVolumes(client OzoneRestClient) : void extracted from public testListAllVolumes() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestChangeQuotaOnVolume(client OzoneRestClient) : void extracted from public testChangeQuotaOnVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestAddBucketAcls(client OzoneRestClient) : void extracted from public testAddBucketAcls() : void in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Extract Method package runTestCreateDuplicateVolume(client OzoneRestClient) : void extracted from public testCreateDuplicateVolume() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestDeleteBucket(client OzoneRestClient) : void extracted from public testDeleteBucket() : void in class org.apache.hadoop.ozone.web.client.TestBuckets | From | To | |
Extract Method package runTestListVolumePagination(client OzoneRestClient) : void extracted from public testListVolumePagination() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Extract Method package runTestListVolumes(client OzoneRestClient) : void extracted from public testListVolumes() : void in class org.apache.hadoop.ozone.web.client.TestVolume | From | To | |
Rename Parameter | 1 | ||
Rename Parameter ozoneRestClient : OzoneRestClient to mockedClient : OzoneRestClient in method private mockHttpClients(mockedClient OzoneRestClient) : List<CloseableHttpClient> in class org.apache.hadoop.ozone.web.client.TestVolume | From | To |