d65b957776c4f055f82549a610fd1e8494580fe6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 4 | ||
Pull Up Method private getGetSetPairs(recordClass Class<R>) : Map<String,GetSetPair> from class org.apache.hadoop.yarn.api.TestPBImplRecords to private getGetSetPairs(recordClass Class<R>) : Map<String,GetSetPair> from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Method private genTypeValue(type Type) : Object from class org.apache.hadoop.yarn.api.TestPBImplRecords to private genTypeValue(type Type) : Object from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Method private validatePBImplRecord(recordClass Class<R>, protoClass Class<P>) : void from class org.apache.hadoop.yarn.api.TestPBImplRecords to protected validatePBImplRecord(recordClass Class<R>, protoClass Class<P>) : void from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Method private generateByNewInstance(clazz Class) : Object from class org.apache.hadoop.yarn.api.TestPBImplRecords to protected generateByNewInstance(clazz Class) : Object from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Attribute | 4 | ||
Pull Up Attribute private bytes : byte[] from class org.apache.hadoop.yarn.api.TestPBImplRecords to private bytes : byte[] from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Attribute private rand : Random from class org.apache.hadoop.yarn.api.TestPBImplRecords to private rand : Random from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Attribute package LOG : Log from class org.apache.hadoop.yarn.api.TestPBImplRecords to package LOG : Log from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Pull Up Attribute private typeValueCache : HashMap<Type,Object> from class org.apache.hadoop.yarn.api.TestPBImplRecords to protected typeValueCache : HashMap<Type,Object> from class org.apache.hadoop.yarn.api.BasePBImplRecordsTest | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.yarn.api.TestPBImplRecords.GetSetPair moved to org.apache.hadoop.yarn.api.BasePBImplRecordsTest.GetSetPair | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.yarn.api.BasePBImplRecordsTest from classes [org.apache.hadoop.yarn.api.TestPBImplRecords] | From | To |