26280cb7af4b3faa0d9b050bfd3ae84961845e71
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 1 | ||
Push Down Method public nextAsyncId() : int from class com.navercorp.pinpoint.profiler.context.AsyncIdGenerator to public nextAsyncId() : int from class com.navercorp.pinpoint.profiler.context.DefaultAsyncIdGenerator | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type traceFactoryBuilder : TraceFactoryBuilder to traceFactory : TraceFactory in method public TraceContextProvider(profilerConfig ProfilerConfig, agentInformation Provider<AgentInformation>, traceFactory TraceFactory, asyncIdGenerator AsyncIdGenerator, serverMetaDataHolder ServerMetaDataHolder, apiMetaDataService ApiMetaDataService, stringMetaDataService StringMetaDataService, sqlMetaDataService SqlMetaDataService, jdbcContext JdbcContext) in class com.navercorp.pinpoint.profiler.context.provider.TraceContextProvider | From | To | |
Change Parameter Type traceFactoryBuilder : TraceFactoryBuilder to traceFactory : TraceFactory in method public DefaultTraceContext(profilerConfig ProfilerConfig, agentInformation AgentInformation, traceFactory TraceFactory, asyncIdGenerator AsyncIdGenerator, serverMetaDataHolder ServerMetaDataHolder, apiMetaDataService ApiMetaDataService, stringMetaDataService StringMetaDataService, sqlMetaDataService SqlMetaDataService, jdbcContext JdbcContext) in class com.navercorp.pinpoint.profiler.context.DefaultTraceContext | From | To | |
Change Parameter Type traceContext : TraceContext to profilerConfig : ProfilerConfig in method public DefaultBaseTraceFactory(profilerConfig ProfilerConfig, storageFactory StorageFactory, sampler Sampler, idGenerator AtomicIdGenerator, asyncIdGenerator AsyncIdGenerator, agentInformation AgentInformation, stringMetaDataService StringMetaDataService, sqlMetaDataCacheService SqlMetaDataCacheService) in class com.navercorp.pinpoint.profiler.context.DefaultBaseTraceFactory | From | To | |
Rename Variable | 5 | ||
Rename Variable traceContext : TraceContext to profilerConfig : ProfilerConfig in method public trace() : void in class com.navercorp.pinpoint.profiler.context.TraceTest | From | To | |
Rename Variable traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testRecordApiId() : void in class com.navercorp.pinpoint.profiler.context.DefaultSpanRecorderTest | From | To | |
Rename Variable traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testRecordAPIId() : void in class com.navercorp.pinpoint.profiler.context.WrappedSpanEventRecorderTest | From | To | |
Rename Variable traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testSetExceptionInfo_RootMarkError() : void in class com.navercorp.pinpoint.profiler.context.WrappedSpanEventRecorderTest | From | To | |
Rename Variable traceContext : TraceContext to profilerConfig : ProfilerConfig in method public popEventTest() : void in class com.navercorp.pinpoint.profiler.context.TraceTest | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private asyncId : AtomicInteger from class com.navercorp.pinpoint.profiler.context.AsyncIdGenerator to private asyncId : AtomicInteger from class com.navercorp.pinpoint.profiler.context.DefaultAsyncIdGenerator | From | To | |
Rename Attribute | 3 | ||
Rename Attribute traceContext : TraceContext to stringMetaDataService : StringMetaDataService in class com.navercorp.pinpoint.profiler.context.AbstractRecorder | From | To | |
Rename Attribute traceContext : TraceContext to profilerConfig : ProfilerConfig in class com.navercorp.pinpoint.profiler.context.DefaultBaseTraceFactory | From | To | |
Rename Attribute traceContext : TraceContext to sqlMetaDataService : SqlMetaDataService in class com.navercorp.pinpoint.profiler.context.AbstractRecorder | From | To | |
Change Variable Type | 5 | ||
Change Variable Type traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testRecordApiId() : void in class com.navercorp.pinpoint.profiler.context.DefaultSpanRecorderTest | From | To | |
Change Variable Type traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testRecordAPIId() : void in class com.navercorp.pinpoint.profiler.context.WrappedSpanEventRecorderTest | From | To | |
Change Variable Type traceContext : TraceContext to profilerConfig : ProfilerConfig in method public popEventTest() : void in class com.navercorp.pinpoint.profiler.context.TraceTest | From | To | |
Change Variable Type traceContext : TraceContext to stringMetaDataService : StringMetaDataService in method public testSetExceptionInfo_RootMarkError() : void in class com.navercorp.pinpoint.profiler.context.WrappedSpanEventRecorderTest | From | To | |
Change Variable Type traceContext : TraceContext to profilerConfig : ProfilerConfig in method public trace() : void in class com.navercorp.pinpoint.profiler.context.TraceTest | From | To | |
Split Variable | 2 | ||
Split Variable traceFactoryBuilder : TraceFactoryBuilder to [asyncIdGenerator : AsyncIdGenerator, traceFactory : TraceFactory] in method public MockTraceContextFactory(profilerConfig ProfilerConfig) in class com.navercorp.pinpoint.test.MockTraceContextFactory | From | To | |
Split Variable traceFactoryBuilder : TraceFactoryBuilder to [asyncIdGenerator : AsyncIdGenerator, traceFactory : TraceFactory] in method public MockTraceContextFactory(profilerConfig ProfilerConfig) in class com.navercorp.pinpoint.profiler.context.MockTraceContextFactory | From | To | |
Split Attribute | 1 | ||
Split Attribute traceFactoryBuilder : TraceFactoryBuilder to [asyncIdGenerator : AsyncIdGenerator, traceFactory : TraceFactory] in class com.navercorp.pinpoint.profiler.context.provider.TraceContextProvider | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type traceContext : TraceContext to stringMetaDataService : StringMetaDataService in class com.navercorp.pinpoint.profiler.context.AbstractRecorder | From | To | |
Change Attribute Type traceContext : TraceContext to profilerConfig : ProfilerConfig in class com.navercorp.pinpoint.profiler.context.DefaultBaseTraceFactory | From | To | |
Change Attribute Type traceContext : TraceContext to sqlMetaDataService : SqlMetaDataService in class com.navercorp.pinpoint.profiler.context.AbstractRecorder | From | To | |
Rename Parameter | 3 | ||
Rename Parameter traceFactoryBuilder : TraceFactoryBuilder to traceFactory : TraceFactory in method public TraceContextProvider(profilerConfig ProfilerConfig, agentInformation Provider<AgentInformation>, traceFactory TraceFactory, asyncIdGenerator AsyncIdGenerator, serverMetaDataHolder ServerMetaDataHolder, apiMetaDataService ApiMetaDataService, stringMetaDataService StringMetaDataService, sqlMetaDataService SqlMetaDataService, jdbcContext JdbcContext) in class com.navercorp.pinpoint.profiler.context.provider.TraceContextProvider | From | To | |
Rename Parameter traceFactoryBuilder : TraceFactoryBuilder to traceFactory : TraceFactory in method public DefaultTraceContext(profilerConfig ProfilerConfig, agentInformation AgentInformation, traceFactory TraceFactory, asyncIdGenerator AsyncIdGenerator, serverMetaDataHolder ServerMetaDataHolder, apiMetaDataService ApiMetaDataService, stringMetaDataService StringMetaDataService, sqlMetaDataService SqlMetaDataService, jdbcContext JdbcContext) in class com.navercorp.pinpoint.profiler.context.DefaultTraceContext | From | To | |
Rename Parameter traceContext : TraceContext to profilerConfig : ProfilerConfig in method public DefaultBaseTraceFactory(profilerConfig ProfilerConfig, storageFactory StorageFactory, sampler Sampler, idGenerator AtomicIdGenerator, asyncIdGenerator AsyncIdGenerator, agentInformation AgentInformation, stringMetaDataService StringMetaDataService, sqlMetaDataCacheService SqlMetaDataCacheService) in class com.navercorp.pinpoint.profiler.context.DefaultBaseTraceFactory | From | To |