9271c595069beb16d431c069d90d92a5b20258ed
Files Diff
- Added: 10
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 2 | ||
Inline Method protected isWriteClassName(serializer JSONSerializer, obj Object, fieldType Type, fieldName Object) : boolean inlined to public write(serializer JSONSerializer, object Object, fieldName Object, fieldType Type, features int) : void in class com.alibaba.fastjson.serializer.JavaBeanSerializer | From | To | |
Rename Class | 2 | ||
Rename Class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTest1 renamed to com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestLongField | From | To | |
Rename Class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTest0 renamed to com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestIntField | From | To | |
Move Class | 2 | ||
Move Class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTest1.VO moved to com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestByteField.VO | From | To | |
Move Class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTest0.VO moved to com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestBooleanField.VO | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute singleQuote : boolean to useSingleQuotes : boolean in method public writeByteArray(bytes byte[]) : void in class com.alibaba.fastjson.serializer.SerializeWriter | From | To | |
Extract Variable | 2 | ||
Extract Variable ignoreNonFieldGetter : boolean in method public write(serializer JSONSerializer, object Object, fieldName Object, fieldType Type, features int) : void from class com.alibaba.fastjson.serializer.JavaBeanSerializer | From | To | |
Extract Variable skipTransient : boolean in method public write(serializer JSONSerializer, object Object, fieldName Object, fieldType Type, features int) : void from class com.alibaba.fastjson.serializer.JavaBeanSerializer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type id : int to id : boolean in class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestBooleanField.VO | From | To | |
Change Attribute Type id : long to id : byte in class com.alibaba.json.bvt.serializer.features.WriteNonStringValueAsStringTestByteField.VO | From | To |