0013704bb8addd0d0e321885523cee89f1e3fe13
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method protected writePrefix(out ByteArrayOutputStream, object Object) : int from class com.alibaba.fastjson.support.spring.FastJsonpHttpMessageConverter4 to protected writePrefix(out ByteArrayOutputStream, object Object) : int from class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Move Method protected writeSuffix(out ByteArrayOutputStream, object Object) : int from class com.alibaba.fastjson.support.spring.FastJsonpHttpMessageConverter4 to protected writeSuffix(out ByteArrayOutputStream, object Object) : int from class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Move Attribute | 2 | ||
Move Attribute private JSONP_FUNCTION_SUFFIX_BYTES : byte[] from class com.alibaba.fastjson.support.spring.FastJsonpHttpMessageConverter4 to private JSONP_FUNCTION_SUFFIX_BYTES : byte[] from class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Move Attribute private JSONP_FUNCTION_PREFIX_BYTES : byte[] from class com.alibaba.fastjson.support.spring.FastJsonpHttpMessageConverter4 to private JSONP_FUNCTION_PREFIX_BYTES : byte[] from class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Extract Method | 2 | ||
Extract Method private readType(type Type, inputMessage HttpInputMessage) : Object extracted from public read(type Type, contextClass Class<?>, inputMessage HttpInputMessage) : Object in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Extract Method private strangeCodeForJackson(obj Object) : Object extracted from protected writeInternal(obj Object, outputMessage HttpOutputMessage) : void in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Rename Parameter | 5 | ||
Rename Parameter contextClass : Class<?> to clazz : Class<?> in method public canWrite(type Type, clazz Class<?>, mediaType MediaType) : boolean in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Rename Parameter t : Object to o : Object in method public write(o Object, type Type, contentType MediaType, outputMessage HttpOutputMessage) : void in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Rename Parameter obj : Object to object : Object in method protected writeInternal(object Object, outputMessage HttpOutputMessage) : void in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter | From | To | |
Rename Parameter paramClass : Class<?> to clazz : Class<?> in method protected supports(clazz Class<?>) : boolean in class com.alibaba.fastjson.support.spring.FastJsonpHttpMessageConverter4 | From | To | |
Rename Parameter paramClass : Class<?> to clazz : Class<?> in method protected supports(clazz Class<?>) : boolean in class com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter4 | From | To |