176b9f9dde59b164315fa0035722e4a986787fd6
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getTraceRoot0() : TraceRoot renamed to public getTraceRoot() : TraceRoot in class com.navercorp.pinpoint.profiler.context.DefaultTrace | From | To | |
Move Method | 6 | ||
Move Method public getErrorCode() : int from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public getErrorCode() : int from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Method public setLoggingInfo(loggingInfo byte) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public setLoggingInfo(loggingInfo byte) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Method public getLoggingInfo() : byte from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public getLoggingInfo() : byte from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Method public getEndPoint() : String from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public getEndPoint() : String from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Method public setEndPoint(endPoint String) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public setEndPoint(endPoint String) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Method public maskErrorCode(errorCode int) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to public maskErrorCode(errorCode int) : void from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Rename Variable | 2 | ||
Rename Variable internalTraceId : TraceRoot to traceRoot : TraceRoot in method public recordLogging(loggingInfo LoggingInfo) : void in class com.navercorp.pinpoint.profiler.context.recorder.DefaultSpanRecorder | From | To | |
Rename Variable internalTraceId : TraceRoot to traceRoot : TraceRoot in method package setExceptionInfo(markError boolean, exceptionClassId int, exceptionMessage String) : void in class com.navercorp.pinpoint.profiler.context.recorder.DefaultSpanRecorder | From | To | |
Move Attribute | 3 | ||
Move Attribute private loggingInfo : byte from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to private loggingInfo : byte from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Attribute private endPoint : String from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to private endPoint : String from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Move Attribute private errorCode : int from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot to private errorCode : int from class com.navercorp.pinpoint.profiler.context.id.DefaultShared | From | To | |
Extract Class | 1 | ||
Extract Class com.navercorp.pinpoint.profiler.context.id.DefaultShared from class com.navercorp.pinpoint.profiler.context.id.DefaultTraceRoot | From | To | |
Extract Method | 3 | ||
Extract Method private newSpanEvent(stackId int) : SpanEvent extracted from public traceBlockBegin(stackId int) : SpanEventRecorder in class com.navercorp.pinpoint.profiler.context.DefaultTrace | From | To | |
Extract Method private isClosed() : boolean extracted from public traceBlockEnd(stackId int) : void in class com.navercorp.pinpoint.profiler.context.DefaultTrace | From | To | |
Extract Method private isClosed() : boolean extracted from public traceBlockBegin(stackId int) : SpanEventRecorder in class com.navercorp.pinpoint.profiler.context.DefaultTrace | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getTraceRoot() : TraceRoot extracted from public getBindThread() : Thread in class com.navercorp.pinpoint.profiler.context.DefaultTrace & moved to class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext | From | To |