389ded9931c90aebe43eb9bf8993f395e2ad075a
Files Diff
- Added: 8
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type ThreadLocalTraceFactory to ThreadLocalTraceRepositoy in method private getTraceFactory() : ThreadLocalTraceRepositoy in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactoryTest | From | To | |
Move Attribute | 2 | ||
Move Attribute private traceFactory : TraceFactory from class com.navercorp.pinpoint.profiler.context.DefaultTraceContext to private traceFactory : TraceFactory from class com.navercorp.pinpoint.profiler.context.ActiveTraceFactory | From | To | |
Move Attribute private traceContext : TraceContext from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory to private traceContext : TraceContext from class com.navercorp.pinpoint.profiler.context.DefaultTraceFactory | From | To | |
Extract Class | 1 | ||
Extract Class com.navercorp.pinpoint.profiler.context.DefaultTraceFactory from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
Rename Class | 1 | ||
Rename Class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory renamed to com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable metricTrace : Trace to trace : Trace in method private set(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Parameterize Variable asyncTrace : AsyncTrace to trace : Trace in method private set(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Rename Attribute | 1 | ||
Rename Attribute traceFactory : TraceFactory to traceRepository : TraceRepository in class com.navercorp.pinpoint.profiler.context.DefaultTraceContext | From | To | |
Change Variable Type | 3 | ||
Change Variable Type traceFactory : ThreadLocalTraceFactory to traceFactory : ThreadLocalTraceRepositoy in method public testCurrentTraceObject() : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactoryTest | From | To | |
Change Variable Type traceFactory : ThreadLocalTraceFactory to traceFactory : ThreadLocalTraceRepositoy in method public nullTraceObject() : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactoryTest | From | To | |
Change Variable Type asyncTrace : AsyncTrace to trace : Trace in method private set(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Extract Interface | 1 | ||
Extract Interface com.navercorp.pinpoint.profiler.context.TraceRepository from classes [com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy] | From | To | |
Extract Method | 6 | ||
Extract Method private set(trace Trace) : void extracted from public continueTraceObject(trace Trace) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Extract Method private set(trace Trace) : void extracted from public continueTraceObject(traceID TraceId) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Extract Method private set(trace Trace) : void extracted from public newTraceObject(traceType TraceType) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Extract Method private set(trace Trace) : void extracted from public continueAsyncTraceObject(traceId AsyncTraceId, asyncId int, startTime long) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Extract Method private set(trace Trace) : void extracted from public disableSampling() : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceRepositoy | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type traceFactory : TraceFactory to traceRepository : TraceRepository in class com.navercorp.pinpoint.profiler.context.DefaultTraceContext | From | To |