a0574e7f4f5a6e53677ada4381db5504f263d70f
Files Diff
- Added: 10
- Removed: 7
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable configFile : ConfigFile to file : ConfigFile in method public validateConfigFiles(configFiles List<ConfigFile>, fs FileSystem) : void in class org.apache.slider.providers.AbstractClientProvider | From | To | |
Move Attribute | 1 | ||
Move Attribute private jsonSerDeser : JsonSerDeser<Application> from class org.apache.slider.server.appmaster.SliderAppMaster to private jsonSerDeser : JsonSerDeser<Application> from class org.apache.slider.util.ServiceApiUtil | From | To | |
Rename Class | 2 | ||
Rename Class org.apache.slider.core.conf.ExampleConfResources renamed to org.apache.slider.core.conf.ExampleAppJson | From | To | |
Rename Class org.apache.slider.core.conf.TestConfTreeLoadExamples renamed to org.apache.slider.core.conf.TestExampleAppJson | From | To | |
Rename Attribute | 1 | ||
Rename Attribute APP_INSTALL_DIR : String to APP_LIB_DIR : String in class org.apache.slider.common.SliderKeys | From | To | |
Extract Method | 2 | ||
Extract Method private checkAppExistOnHdfs(appName String) : Path extracted from public actionStart(appName String, thaw ActionThawArgs) : int in class org.apache.slider.client.SliderClient | From | To | |
Extract Method public getValidTestName() : String extracted from public buildApplication() : Application in class org.apache.slider.server.appmaster.model.mock.BaseMockAppStateTest | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public getAppJsonPath(fs SliderFileSystem, appName String) : Path extracted from public flex(appName String, componentCounts Map<String,Long>) : Map<String,Long> in class org.apache.slider.client.SliderClient & moved to class org.apache.slider.util.ServiceApiUtil | From | To | |
Extract And Move Method public getValidTestName() : String extracted from public buildApplication() : Application in class org.apache.slider.server.appmaster.model.appstate.BaseMockAppStateAATest & moved to class org.apache.slider.server.appmaster.model.mock.BaseMockAppStateTest | From | To | |
Extract And Move Method public getValidTestName() : String extracted from public buildApplication() : Application in class org.apache.slider.server.appmaster.model.appstate.TestMockContainerResourceAllocations & moved to class org.apache.slider.server.appmaster.model.mock.BaseMockAppStateTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter fileSystem : FileSystem to fs : FileSystem in method public validateConfigFiles(configFiles List<ConfigFile>, fs FileSystem) : void in class org.apache.slider.providers.AbstractClientProvider | From | To |