5a890db695fef029af1d56fa4d79a3b3e57cf098
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public smartServeFromFile(x HttpExchange, filename String, app Object, result Object) : boolean renamed to public serveDynamicPage(x HttpExchangeImpl, result Object, hasEvent boolean) : boolean in class org.rapidoid.app.AppHandler | From | To | |
Rename Method public renderPage(model1 Object, model2 Object) : HttpExchange renamed to public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchangeImpl | From | To | |
Rename Method public renderPage(model1 Object, model2 Object) : HttpExchange renamed to public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchange | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type x : HttpExchange to x : HttpExchangeImpl in method public serveDynamicPage(x HttpExchangeImpl, result Object, hasEvent boolean) : boolean in class org.rapidoid.app.AppHandler | From | To | |
Change Parameter Type components : Map<String,Class<?>> to components : Classes in method public WebPojoDispatcher(components Classes) in class org.rapidoid.webapp.WebPojoDispatcher | From | To | |
Change Return Type | 2 | ||
Change Return Type HttpExchange to String in method public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchange | From | To | |
Change Return Type HttpExchange to String in method public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchangeImpl | From | To | |
Move Class | 2 | ||
Move Class org.rapidoid.app.WebPojoDispatcher moved to org.rapidoid.webapp.WebPojoDispatcher | From | To | |
Move Class org.rapidoid.app.WebReq moved to org.rapidoid.webapp.WebReq | From | To | |
Extract Method | 1 | ||
Extract Method private pageModel(filename String, result Object, resource Res) : Map<String,Object> extracted from public smartServeFromFile(x HttpExchange, filename String, app Object, result Object) : boolean in class org.rapidoid.app.AppHandler | From | To | |
Rename Parameter | 3 | ||
Rename Parameter model1 : Object to model : Object in method public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchange | From | To | |
Rename Parameter services : Map<String,Class<?>> to components : Map<String,Class<?>> in method public AppClasses(main Class<?>, components Map<String,Class<?>>) in class org.rapidoid.app.AppClasses | From | To | |
Rename Parameter model1 : Object to model : Object in method public renderPageToHTML(model Object) : String in class org.rapidoid.http.HttpExchangeImpl | From | To |