697ad683a544a0990c84a044827dec0d438db18c
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 2 | ||
Move And Inline Method public getType() : int moved from class com.navercorp.pinpoint.common.server.bo.ApiMetaDataBo to class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory & inlined to private getApi(align SpanAlign) : Api | From | To | |
Move And Inline Method public setType(type int) : void moved from class com.navercorp.pinpoint.common.server.bo.ApiMetaDataBo to class com.navercorp.pinpoint.web.mapper.ApiMetaDataMapper & inlined to public mapRow(result Result, rowNum int) : List<ApiMetaDataBo> | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type methodType : int to methodTypeEnum : MethodTypeEnum in method public Record(tab int, id int, parentId int, method boolean, title String, arguments String, begin long, elapsed long, gap long, agent String, applicationName String, serviceType ServiceType, destinationId String, hasChild boolean, hasException boolean, transactionId String, spanId long, executionMilliseconds long, methodTypeEnum MethodTypeEnum, isAuthorized boolean) in class com.navercorp.pinpoint.web.vo.callstacks.Record | From | To | |
Rename Variable | 1 | ||
Rename Variable type : int to methodTypeEnum : MethodTypeEnum in method public mapRow(result Result, rowNum int) : List<ApiMetaDataBo> in class com.navercorp.pinpoint.web.mapper.ApiMetaDataMapper | From | To | |
Rename Attribute | 1 | ||
Rename Attribute methodType : int to methodTypeEnum : MethodTypeEnum in class com.navercorp.pinpoint.web.vo.callstacks.Record | From | To | |
Change Variable Type | 1 | ||
Change Variable Type type : int to methodTypeEnum : MethodTypeEnum in method public mapRow(result Result, rowNum int) : List<ApiMetaDataBo> in class com.navercorp.pinpoint.web.mapper.ApiMetaDataMapper | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type methodType : int to methodTypeEnum : MethodTypeEnum in class com.navercorp.pinpoint.web.vo.callstacks.Record | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public setDescription(description String) : void extracted from package getApi(align SpanAlign) : Api in class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory & moved to class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory.Api | From | To | |
Extract And Move Method public setTitle(title String) : void extracted from package getApi(align SpanAlign) : Api in class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory & moved to class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory.Api | From | To | |
Extract And Move Method public setClassName(className String) : void extracted from package getApi(align SpanAlign) : Api in class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory & moved to class com.navercorp.pinpoint.web.vo.callstacks.RecordFactory.Api | From | To | |
Rename Parameter | 1 | ||
Rename Parameter methodType : int to methodTypeEnum : MethodTypeEnum in method public Record(tab int, id int, parentId int, method boolean, title String, arguments String, begin long, elapsed long, gap long, agent String, applicationName String, serviceType ServiceType, destinationId String, hasChild boolean, hasException boolean, transactionId String, spanId long, executionMilliseconds long, methodTypeEnum MethodTypeEnum, isAuthorized boolean) in class com.navercorp.pinpoint.web.vo.callstacks.Record | From | To |