373bb4931fb392e3ca6bfd78992887e5a405e186
Files Diff
- Added: 32
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Return Type | 1 | ||
| Change Return Type void to boolean in method private parseGeneralOptions(opts Options, args String[]) : boolean in class org.apache.hadoop.util.GenericOptionsParser | From | To | |
| Merge Parameter | 2 | ||
| Merge Parameter [status : int, msg : String] to ee : ExitException in method public terminate(ee ExitException) : void in class org.apache.hadoop.util.ExitUtil | From | To | |
| Merge Parameter [status : int, msg : String] to ee : HaltException in method public halt(ee HaltException) : void in class org.apache.hadoop.util.ExitUtil | From | To | |
| Extract Method | 4 | ||
| Extract Method protected createFailureException(action String) : Exception extracted from private maybeFail(fail boolean, action String) : void in class org.apache.hadoop.service.BreakableService | From | To | |
| Extract Method public createStartupShutdownMessage(classname String, hostname String, args String[]) : String extracted from package startupShutdownMessage(clazz Class<?>, args String[], LOG LogAdapter) : void in class org.apache.hadoop.util.StringUtils | From | To | |
| Extract Method public halt(ee HaltException) : void extracted from public halt(status int, msg String) : void in class org.apache.hadoop.util.ExitUtil | From | To | |
| Extract Method public terminate(ee ExitException) : void extracted from public terminate(status int, msg String) : void in class org.apache.hadoop.util.ExitUtil | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type LOG : Log to LOG : Logger in class org.apache.hadoop.util.ExitUtil | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter msg : String to message : String in method public halt(status int, message String) : void in class org.apache.hadoop.util.ExitUtil | From | To |