8ff98e2af31dbb0b5db9de42b626cb269751a1e7
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getKeyLocationList() : List<KsmKeyLocationInfo> renamed to public getKeyLocationVersions() : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To | |
Move And Inline Method | 2 | ||
Move And Inline Method public setIndex(id int) : Builder moved from class org.apache.hadoop.ozone.ksm.helpers.KsmKeyLocationInfo.Builder to class org.apache.hadoop.ozone.ksm.KeyManagerImpl & inlined to public openKey(args KsmKeyArgs) : OpenKeySession | From | To | |
Move And Inline Method public setIndex(idx int) : void moved from class org.apache.hadoop.ozone.ksm.helpers.KsmKeyLocationInfo to class org.apache.hadoop.ozone.ksm.KeyManagerImpl & inlined to public openKey(args KsmKeyArgs) : OpenKeySession | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type locationInfos : List<KsmKeyLocationInfo> to versions : List<KsmKeyLocationInfoGroup> in method private KsmKeyInfo(volumeName String, bucketName String, keyName String, versions List<KsmKeyLocationInfoGroup>, dataSize long, creationTime long, modificationTime long) in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To | |
Change Parameter Type ksmKeyLocationInfoList : List<KsmKeyLocationInfo> to ksmKeyLocationInfoList : List<KsmKeyLocationInfoGroup> in method public setKsmKeyLocationInfos(ksmKeyLocationInfoList List<KsmKeyLocationInfoGroup>) : Builder in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo.Builder | From | To | |
Rename Variable | 1 | ||
Rename Variable idx : int to openVersion : long in method public openKey(args KsmKeyArgs) : OpenKeySession in class org.apache.hadoop.ozone.ksm.KeyManagerImpl | From | To | |
Inline Method | 1 | ||
Inline Method public getIndex() : int inlined to public getFromProtobuf(keyLocation KeyLocation) : KsmKeyLocationInfo in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyLocationInfo | From | To | |
Change Return Type | 1 | ||
Change Return Type List<KsmKeyLocationInfo> to List<KsmKeyLocationInfoGroup> in method public getKeyLocationVersions() : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To | |
Rename Attribute | 2 | ||
Rename Attribute keyLocationList : List<KsmKeyLocationInfo> to keyLocationVersions : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To | |
Rename Attribute ksmKeyLocationInfos : List<KsmKeyLocationInfo> to ksmKeyLocationInfoGroups : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo.Builder | From | To | |
Change Variable Type | 1 | ||
Change Variable Type idx : int to openVersion : long in method public openKey(args KsmKeyArgs) : OpenKeySession in class org.apache.hadoop.ozone.ksm.KeyManagerImpl | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type ksmKeyLocationInfos : List<KsmKeyLocationInfo> to ksmKeyLocationInfoGroups : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo.Builder | From | To | |
Change Attribute Type keyLocationList : List<KsmKeyLocationInfo> to keyLocationVersions : List<KsmKeyLocationInfoGroup> in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To | |
Rename Parameter | 1 | ||
Rename Parameter locationInfos : List<KsmKeyLocationInfo> to versions : List<KsmKeyLocationInfoGroup> in method private KsmKeyInfo(volumeName String, bucketName String, keyName String, versions List<KsmKeyLocationInfoGroup>, dataSize long, creationTime long, modificationTime long) in class org.apache.hadoop.ozone.ksm.helpers.KsmKeyInfo | From | To |