945cb5ee62ae9447820c95ce1c047694c3208a23
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public encode(chars char[], off int, len int) : byte[] from class com.alibaba.fastjson.serializer.SerialWriterStringEncoder to private encode(encoder CharsetEncoder, chars char[], off int, len int) : byte[] from class com.alibaba.fastjson.serializer.SerializeWriter | From | To | |
Move Method public getBytes(length int) : byte[] from class com.alibaba.fastjson.serializer.SerialWriterStringEncoder to public getBytes(length int) : byte[] from class com.alibaba.json.bvt.util.ThreadLocalCacheTest | From | To | |
Rename Variable | 2 | ||
Rename Variable field : Field to method : Method in method public encode(encoder CharsetEncoder, chars char[], off int, len int) : byte[] in class com.alibaba.json.bvt.serializer.SerialWriterStringEncoderTest2 | From | To | |
Move Attribute | 2 | ||
Move Attribute private bytesBufLocal : ThreadLocal<byte[]> from class com.alibaba.fastjson.serializer.SerialWriterStringEncoder to private bytesBufLocal : ThreadLocal<byte[]> from class com.alibaba.fastjson.serializer.SerializeWriter | From | To | |
Move Attribute package utf8 : Charset from class com.alibaba.fastjson.JSON to package utf8 : Charset from class com.alibaba.fastjson.serializer.SerializeWriter | From | To | |
Change Variable Type | 2 | ||
Change Variable Type field : Field to method : Method in method public encode(encoder CharsetEncoder, chars char[], off int, len int) : byte[] in class com.alibaba.json.bvt.serializer.SerialWriterStringEncoderTest2 | From | To | |
Extract Method | 2 | ||
Extract Method public encode(encoder CharsetEncoder, chars char[], off int, len int) : byte[] extracted from public test_error_1() : void in class com.alibaba.json.bvt.serializer.SerialWriterStringEncoderTest2 | From | To | |
Extract Method public encode(encoder CharsetEncoder, chars char[], off int, len int) : byte[] extracted from public test_error_0() : void in class com.alibaba.json.bvt.serializer.SerialWriterStringEncoderTest2 | From | To |