42515f9977853c47eb1efac79f34f77edefd462f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public sendPost(url String, timeout Integer) : String renamed to public post(url String, timeout Integer) : InputStream in class alluxio.util.network.HttpUtils | From | To | |
Rename Method public getAddres() : String renamed to public getHost() : String in class alluxio.cli.LogLevel.TargetInfo | From | To | |
Rename Variable | 2 | ||
Rename Variable result : String to inputStream : InputStream in method private handleTarget(logName String, level String, targetInfo TargetInfo) : boolean in class alluxio.cli.LogLevel | From | To | |
Rename Variable addrList : List<TargetInfo> to targetInfoList : List<TargetInfo> in method public logLevel(args String...) : int in class alluxio.cli.LogLevel | From | To | |
Change Return Type | 1 | ||
Change Return Type String to InputStream in method public post(url String, timeout Integer) : InputStream in class alluxio.util.network.HttpUtils | From | To | |
Extract Attribute | 1 | ||
Extract Attribute public TARGET_SEPARATOR : String in class alluxio.cli.LogLevel | From | To | |
Rename Attribute | 2 | ||
Rename Attribute LOGNAME_OPTION_NAME : String to LOG_NAME_OPTION_NAME : String in class alluxio.cli.LogLevel | From | To | |
Rename Attribute mAddres : String to mPort : int in class alluxio.cli.LogLevel.TargetInfo | From | To | |
Change Variable Type | 1 | ||
Change Variable Type result : String to inputStream : InputStream in method private handleTarget(logName String, level String, targetInfo TargetInfo) : boolean in class alluxio.cli.LogLevel | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type mAddres : String to mPort : int in class alluxio.cli.LogLevel.TargetInfo | From | To | |
Extract Method | 4 | ||
Extract Method private parseOptLogName(cmd CommandLine) : String extracted from public logLevel(args String...) : int in class alluxio.cli.LogLevel | From | To | |
Extract Method private parseOptLevel(cmd CommandLine) : String extracted from public logLevel(args String...) : int in class alluxio.cli.LogLevel | From | To | |
Extract Method private handleTarget(logName String, level String, targetInfo TargetInfo) : boolean extracted from public logLevel(args String...) : int in class alluxio.cli.LogLevel | From | To | |
Extract Method private parseOptTarget(cmd CommandLine) : String[] extracted from public logLevel(args String...) : int in class alluxio.cli.LogLevel | From | To | |
Rename Parameter | 1 | ||
Rename Parameter address : String to host : String in method public TargetInfo(host String, port int, role String) in class alluxio.cli.LogLevel.TargetInfo | From | To |