a49b57ba74c28289ed3a60a2d406fa06542adf58
Files Diff
- Added: 1
- Removed: 4
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 3 | ||
| Rename Variable g : int to name : String in method protected parseFont(parser DefaultJSONParser) : Font in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Rename Variable val : int to style : int in method protected parseFont(parser DefaultJSONParser) : Font in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Rename Variable r : int to size : int in method protected parseFont(parser DefaultJSONParser) : Font in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Rename Class | 1 | ||
| Rename Class com.alibaba.fastjson.serializer.ColorCodec renamed to com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type g : int to name : String in method protected parseFont(parser DefaultJSONParser) : Font in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Extract Method | 6 | ||
| Extract Method protected parseFont(parser DefaultJSONParser) : Font extracted from public deserialze(parser DefaultJSONParser, type Type, fieldName Object) : T in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Extract Method protected parseColor(parser DefaultJSONParser) : Color extracted from public deserialze(parser DefaultJSONParser, type Type, fieldName Object) : T in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Extract Method protected writeClassName(out SerializeWriter, clazz Class<?>, sep char) : char extracted from public write(serializer JSONSerializer, object Object, fieldName Object, fieldType Type, features int) : void in class com.alibaba.fastjson.serializer.AwtCodec | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type instance : ColorCodec to instance : AwtCodec in class com.alibaba.fastjson.serializer.AwtCodec | From | To |