bcb9189d4558dfa2db60ee38e0bf4bbc4b620d1c
Files Diff
- Added: 5
- Removed: 2
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public templateRenderingStream() : ByteArrayOutputStream renamed to public templateRenderingOutput() : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Change Parameter Type | 8 | ||
Change Parameter Type out : OutputStream to out : Writable in method private writeDigits(out Writable, n long) : void in class org.rapidoid.writable.WritableUtils | From | To | |
Change Parameter Type output : OutputStream to output : Writable in method package doRenderMulti(locals RapidoidThreadLocals, output Writable, model List<Object>) : void in class org.rapidoid.render.RapidoidTemplate | From | To | |
Change Parameter Type out : OutputStream to out : Writable in method public putNumAsText(out Writable, n long) : void in class org.rapidoid.writable.WritableUtils | From | To | |
Change Parameter Type out : OutputStream to out : Writable in method public writeAscii(out Writable, s String) : void in class org.rapidoid.writable.WritableUtils | From | To | |
Change Parameter Type output : OutputStream to output : Writable in method package doRender(locals RapidoidThreadLocals, output Writable, model Object) : void in class org.rapidoid.render.RapidoidTemplate | From | To | |
Change Parameter Type out : OutputStream to out : Writable in method public writeUTF8HtmlEscaped(out Writable, src String) : void in class org.rapidoid.writable.WritableUtils | From | To | |
Change Parameter Type out : OutputStream to out : Writable in method public out(out Writable) : RenderCtxImpl in class org.rapidoid.render.RenderCtxImpl | From | To | |
Change Parameter Type out : OutputStream to out : Writable in method public writeUTF8(out Writable, src String) : void in class org.rapidoid.writable.WritableUtils | From | To | |
Rename Variable | 3 | ||
Rename Variable os : ByteArrayOutputStream to out : ReusableWritable in method package writeAsJson(req MaybeReq, ctx Channel, code int, isKeepAlive boolean, value Object) : void in class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To | |
Rename Variable os : ByteArrayOutputStream to out : ReusableWritable in method protected writeJsonBody(req MaybeReq, ctx Channel, value Object) : void in class org.rapidoid.http.AbstractHttpServer | From | To | |
Rename Variable out : ByteArrayOutputStream to baos : ByteArrayOutputStream in method private check(n1 long, n2 long, n3 long) : void in class org.rapidoid.writable.WritableUtilsTest | From | To | |
Change Return Type | 3 | ||
Change Return Type ByteArrayOutputStream to ReusableWritable in method public jsonRenderingStream() : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Change Return Type ByteArrayOutputStream to ReusableWritable in method public templateRenderingOutput() : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Change Return Type ByteArrayOutputStream to ReusableWritable in method public pageRenderingStream() : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.rapidoid.util.StreamUtilsTest moved and renamed to org.rapidoid.writable.WritableUtilsTest | From | To | |
Move And Rename Class org.rapidoid.util.StreamUtils moved and renamed to org.rapidoid.writable.WritableUtils | From | To | |
Rename Attribute | 1 | ||
Rename Attribute templateRenderingStream : ByteArrayOutputStream to templateRenderingOutput : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Extract Variable | 1 | ||
Extract Variable locals : RapidoidThreadLocals in method package writeAsJson(req MaybeReq, ctx Channel, code int, isKeepAlive boolean, value Object) : void from class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To | |
Change Variable Type | 5 | ||
Change Variable Type os : ByteArrayOutputStream to out : ReusableWritable in method package writeAsJson(req MaybeReq, ctx Channel, code int, isKeepAlive boolean, value Object) : void in class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To | |
Change Variable Type out : ByteArrayOutputStream to out : ReusableWritable in method public renderToBytes(model Object) : byte[] in class org.rapidoid.render.RapidoidTemplate | From | To | |
Change Variable Type output : ByteArrayOutputStream to output : ReusableWritable in method public serialize(value Object) : byte[] in class org.rapidoid.util.Msc | From | To | |
Change Variable Type os : ByteArrayOutputStream to out : ReusableWritable in method protected writeJsonBody(req MaybeReq, ctx Channel, value Object) : void in class org.rapidoid.http.AbstractHttpServer | From | To | |
Change Variable Type out : ByteArrayOutputStream to out : ReusableWritable in method public renderPage(req ReqImpl, content String) : byte[] in class org.rapidoid.http.impl.ResponseRenderer | From | To | |
Extract Method | 5 | ||
Extract Method private addExpressions(expressions Map<String,String>, cls CtClass) : void extracted from private tryToCompile(source String, expressions Map<String,String>) : TemplateRenderer in class org.rapidoid.render.TemplateCompiler | From | To | |
Extract Method public compile(modelType Class<?>) : TemplateRenderer extracted from public compile() : TemplateRenderer in class org.rapidoid.render.XNode | From | To | |
Extract Method public load(filename String, modelType Class<?>) : Template extracted from public load(filename String) : Template in class org.rapidoid.render.Templates | From | To | |
Extract Method public compile(source String, modelType Class<?>) : Template extracted from public compile(source String) : Template in class org.rapidoid.render.Templates | From | To | |
Extract Method public renderTo(output Writable, model Object) : void extracted from public renderTo(output OutputStream, model Object) : void in class org.rapidoid.render.RapidoidTemplate | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type out : OutputStream to out : Writable in class org.rapidoid.render.RenderCtxImpl | From | To | |
Change Attribute Type templateRenderingStream : ByteArrayOutputStream to templateRenderingOutput : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Change Attribute Type jsonRenderingStream : ByteArrayOutputStream to jsonRenderingStream : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To | |
Change Attribute Type pageRenderingStream : ByteArrayOutputStream to pageRenderingStream : ReusableWritable in class org.rapidoid.activity.RapidoidThreadLocals | From | To |