3d40200f365136045841ac608b02da8be0685b14
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 2 | ||
| Pull Up Method public command() : String from class org.rapidoid.widget.ButtonWidget to public command() : String from class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Pull Up Method public cmdArgs() : Object[] from class org.rapidoid.widget.ButtonWidget to public cmdArgs() : Object[] from class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type defaultValue : String to defaultValue : T in method public data(name String, defaultValue T) : T in class org.rapidoid.http.HttpExchange | From | To | |
| Change Parameter Type defaultValue : String to defaultValue : T in method public data(name String, defaultValue T) : T in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Move Method | 1 | ||
| Move Method public command(cmd String, cmdArgs Object...) : ButtonWidget from class org.rapidoid.widget.ButtonWidget to public command(cmd String, cmdArgs Object...) : W from class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute private cmdArgs : Object[] from class org.rapidoid.widget.ButtonWidget to private cmdArgs : Object[] from class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Pull Up Attribute private command : String from class org.rapidoid.widget.ButtonWidget to private command : String from class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Change Return Type | 7 | ||
| Change Return Type String to T in method public data(name String, defaultValue T) : T in class org.rapidoid.http.HttpExchange | From | To | |
| Change Return Type String to T in method public data(name String) : T in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Change Return Type Map<String,String> to Map<String,Object> in method public data() : Map<String,Object> in class org.rapidoid.http.HttpExchange | From | To | |
| Change Return Type String to T in method public data(name String, defaultValue T) : T in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Change Return Type String to T in method public data(name String) : T in class org.rapidoid.http.HttpExchange | From | To | |
| Change Return Type ButtonWidget to W in method public command(cmd String, cmdArgs Object...) : W in class org.rapidoid.widget.AbstractCommandWidget | From | To | |
| Change Return Type Map<String,String> to Map<String,Object> in method public data() : Map<String,Object> in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.rapidoid.widget.AbstractCommandWidget from classes [org.rapidoid.widget.ButtonWidget] | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type e : Entry<String,String> to e : Entry<String,Object> in method protected runScript(x HttpExchangeImpl, script CompiledScript, hasEvent boolean, config Map<String,Object>) : void in class org.rapidoid.app.Scripting | From | To | |
| Extract Variable | 1 | ||
| Extract Variable title : String in method public serveDynamicPage(x HttpExchange, result Object, hasEvent boolean, config Map<String,Object>) : boolean from class org.rapidoid.app.AppHandler | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type lazyData : Callable<Map<String,String>> to lazyData : Callable<Map<String,Object>> in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Change Attribute Type data : Map<String,String> to data : Map<String,Object> in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Extract Method | 1 | ||
| Extract Method private bindInputs(x HttpExchangeImpl) : void extracted from public dispatch(x HttpExchangeImpl) : Object in class org.rapidoid.app.AppHandler | From | To |