6f2614e4450cc283db3933772bcc75d6a7edb319
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 24
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public templates(templates TemplateStore) : RenderCtxImpl renamed to public factory(factory TemplateFactory) : RenderCtxImpl in class org.rapidoid.render.RenderCtxImpl | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public load(filename String, templates TemplateStore) : Template from class org.rapidoid.render.Templates to public loadAndCompile(filename String) : RapidoidTemplate from class org.rapidoid.render.RapidoidTemplateFactory | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type templates : TemplateStore to factory : TemplateFactory in method public file(filename String, factory TemplateFactory) : RenderDSL in class org.rapidoid.render.Render | From | To | |
Change Parameter Type templates : TemplateStore to factory : TemplateFactory in method public RapidoidTemplate(filename String, template TemplateRenderer, factory TemplateFactory) in class org.rapidoid.render.RapidoidTemplate | From | To | |
Change Parameter Type templates : TemplateStore to factory : TemplateFactory in method public factory(factory TemplateFactory) : RenderCtxImpl in class org.rapidoid.render.RenderCtxImpl | From | To | |
Move Method | 1 | ||
Move Method public loadTemplate(name String, store TemplateStore) : TemplateRenderer from class org.rapidoid.render.Templates to protected loadTemplate(filename String) : TemplateRenderer from class org.rapidoid.render.RapidoidTemplateFactory | From | To | |
Change Return Type | 1 | ||
Change Return Type Template to RapidoidTemplate in method public loadAndCompile(filename String) : RapidoidTemplate in class org.rapidoid.render.RapidoidTemplateFactory | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private extension : String in class org.rapidoid.http.impl.AbstractViewResolver | From | To | |
Rename Attribute | 2 | ||
Rename Attribute templates : TemplateStore to factory : TemplateFactory in class org.rapidoid.render.RenderCtxImpl | From | To | |
Rename Attribute templates : TemplateStore to factory : TemplateFactory in class org.rapidoid.render.RapidoidTemplate | From | To | |
Extract Variable | 2 | ||
Extract Variable viewResolver : MustacheJavaViewResolver in method public testRendering() : void from class org.rapidoid.viewrendering.MustacheJavaViewResolverTest | From | To | |
Extract Variable viewResolver : JMustacheViewResolver in method public testRendering() : void from class org.rapidoid.viewrendering.JMustacheViewResolverTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type mf : MustacheFactory to mf : DefaultMustacheFactory in method public getView(viewName String, templateLoader ResourceLoader) : View in class org.rapidoid.integrate.MustacheJavaViewResolver | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type templates : TemplateStore to factory : TemplateFactory in class org.rapidoid.render.RenderCtxImpl | From | To | |
Change Attribute Type templates : TemplateStore to factory : TemplateFactory in class org.rapidoid.render.RapidoidTemplate | From | To | |
Extract Method | 1 | ||
Extract Method protected loader(templateLoader ResourceLoader) : Mustache.TemplateLoader extracted from public getView(viewName String, templateLoader ResourceLoader) : View in class org.rapidoid.integrate.JMustacheViewResolver | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected getViewFactory(templateLoader ResourceLoader) : T extracted from public getView(viewName String, templateLoader ResourceLoader) : View in class org.rapidoid.integrate.MustacheJavaViewResolver & moved to class org.rapidoid.http.impl.AbstractViewResolver | From | To | |
Rename Parameter | 5 | ||
Rename Parameter templates : TemplateStore to factory : TemplateFactory in method public RapidoidTemplate(filename String, template TemplateRenderer, factory TemplateFactory) in class org.rapidoid.render.RapidoidTemplate | From | To | |
Rename Parameter templates : TemplateStore to factory : TemplateFactory in method public factory(factory TemplateFactory) : RenderCtxImpl in class org.rapidoid.render.RenderCtxImpl | From | To | |
Rename Parameter templateSource : String to source : String in method public template(source String) : RenderDSL in class org.rapidoid.render.Render | From | To | |
Rename Parameter name : String to filename : String in method protected loadTemplate(filename String) : TemplateRenderer in class org.rapidoid.render.RapidoidTemplateFactory | From | To | |
Rename Parameter templates : TemplateStore to factory : TemplateFactory in method public file(filename String, factory TemplateFactory) : RenderDSL in class org.rapidoid.render.Render | From | To |