c9d5c5d68a63d15dfe175ccd3030551fa4a779c9
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type asyncId : int to asyncId : AsyncId in method public StatefulAsyncContext(asyncTraceContext AsyncTraceContext, traceRoot TraceRoot, asyncId AsyncId, asyncMethodApiId int, asyncState AsyncState) in class com.navercorp.pinpoint.profiler.context.StatefulAsyncContext | From | To | |
| Change Parameter Type asyncId : int to asyncId : AsyncId in method public DefaultAsyncContext(asyncTraceContext AsyncTraceContext, traceRoot TraceRoot, asyncId AsyncId, asyncMethodApiId int) in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext | From | To | |
| Move Method | 2 | ||
| Move Method private nextAsyncSequence() : short from class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext to public nextAsyncSequence() : short from class com.navercorp.pinpoint.profiler.context.DefaultAsyncId | From | To | |
| Move Method public getAsyncId() : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext to public getAsyncId() : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncId | From | To | |
| Change Return Type | 4 | ||
| Change Return Type InternalAsyncContext to AsyncContext in method public newAsyncContext(traceRoot TraceRoot, asyncId AsyncId) : AsyncContext in class com.navercorp.pinpoint.profiler.context.AsyncContextFactory | From | To | |
| Change Return Type InternalAsyncContext to AsyncContext in method public newAsyncContext(traceRoot TraceRoot, asyncId AsyncId) : AsyncContext in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContextFactory | From | To | |
| Change Return Type InternalAsyncContext to AsyncContext in method public newAsyncContext(traceRoot TraceRoot, asyncId AsyncId, asyncState AsyncState) : AsyncContext in class com.navercorp.pinpoint.profiler.context.AsyncContextFactory | From | To | |
| Change Return Type InternalAsyncContext to AsyncContext in method public newAsyncContext(traceRoot TraceRoot, asyncId AsyncId, asyncState AsyncState) : AsyncContext in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContextFactory | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private asyncSequence : int from class com.navercorp.pinpoint.profiler.context.id.DefaultAsyncTraceId to private asyncSequence : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncId | From | To | |
| Move Attribute private asyncSequence : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext to private asyncSequence : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncId | From | To | |
| Extract Class | 2 | ||
| Extract Class com.navercorp.pinpoint.profiler.context.DefaultAsyncId from class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext | From | To | |
| Extract Class com.navercorp.pinpoint.profiler.context.DefaultAsyncId from class com.navercorp.pinpoint.profiler.context.id.DefaultAsyncTraceId | From | To | |
| Rename Class | 1 | ||
| Rename Class com.navercorp.pinpoint.profiler.context.InternalAsyncContext renamed to com.navercorp.pinpoint.profiler.context.AsyncId | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type asyncContext : InternalAsyncContext to asyncContext : AsyncContext in method public recordNextAsyncContext() : AsyncContext in class com.navercorp.pinpoint.profiler.context.recorder.WrappedSpanEventRecorder | From | To | |
| Change Variable Type asyncId : int to asyncId : AsyncId in method public newAsyncTraceId(traceRoot TraceRoot) : AsyncTraceId in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContextFactory | From | To | |
| Change Variable Type asyncContext : InternalAsyncContext to asyncContext : AsyncContext in method public recordNextAsyncContext(asyncStateSupport boolean) : AsyncContext in class com.navercorp.pinpoint.profiler.context.recorder.WrappedSpanEventRecorder | From | To | |
| Extract Method | 1 | ||
| Extract Method public newAsyncId() : AsyncId extracted from public newAsyncTraceId(traceRoot TraceRoot) : AsyncTraceId in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContextFactory | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type asyncId : int to asyncId : AsyncId in class com.navercorp.pinpoint.profiler.context.id.DefaultAsyncTraceId | From | To | |
| Change Attribute Type asyncId : int to asyncId : AsyncId in class com.navercorp.pinpoint.profiler.context.DefaultAsyncContext | From | To |