759114b0063907d4c07ea6ee261e861bf5cc3a9a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Attribute | 2 | ||
Extract Attribute private MEMORY : String in class org.apache.hadoop.yarn.util.resource.ResourceUtils | From | To | |
Extract Attribute private VCORES : String in class org.apache.hadoop.yarn.util.resource.ResourceUtils | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute vcores : String to VCORES : String in method private checkMandatatoryResources(resourceInformationMap Map<String,ResourceInformation>) : void in class org.apache.hadoop.yarn.util.resource.ResourceUtils | From | To | |
Replace Variable With Attribute memory : String to MEMORY : String in method private checkMandatatoryResources(resourceInformationMap Map<String,ResourceInformation>) : void in class org.apache.hadoop.yarn.util.resource.ResourceUtils | From | To | |
Extract Method | 1 | ||
Extract Method private addResourcesFileToConf(resourceFile String, conf Configuration) : void extracted from private getResourceTypes(conf Configuration, resourceFile String) : Map<String,ResourceInformation> in class org.apache.hadoop.yarn.util.resource.ResourceUtils | From | To | |
Inline Variable | 1 | ||
Inline Variable ri : ResourceInformation in method public setResourceValue(resource String, value Long) : void from class org.apache.hadoop.yarn.api.records.impl.pb.ResourcePBImpl | From | To |