608b3a4b96efb1b5bdb97a20e3048cef4b9a056d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public createTrace() : void renamed to public createTraceTest1() : void in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptorTest | From | To | |
Rename Method private getConsumerRecords(args Object[]) : ConsumerRecords renamed to private getConsumerRecordsDesc(args Object[]) : ConsumerRecordsDesc in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method private recordRootSpan(recorder SpanRecorder, consumerRecordsDesc ConsumerRecordsDesc) : void in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory | From | To | |
Change Parameter Type consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method public createTrace(traceContext TraceContext, consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.TraceFactory | From | To | |
Change Parameter Type consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method public createTrace(traceContext TraceContext, consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory | From | To | |
Change Parameter Type consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method private createTrace(consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To | |
Move Method | 1 | ||
Move Method private getRemoteAddress(remoteAddressFieldAccessor Object) : String from class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory to private getRemoteAddress(remoteAddressFieldAccessor Object) : String from class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerRecordsDesc | From | To | |
Rename Variable | 3 | ||
Rename Variable count : int to size : int in method private recordRootSpan(recorder SpanRecorder, consumerRecordsDesc ConsumerRecordsDesc) : void in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory | From | To | |
Rename Variable consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method protected createTrace(target Object, args Object[]) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To | |
Rename Variable arg : Object to consumerRecord : Object in method private getConsumerRecord(args Object[]) : ConsumerRecord in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerRecordEntryPointInterceptor | From | To | |
Change Return Type | 1 | ||
Change Return Type ConsumerRecords to ConsumerRecordsDesc in method private getConsumerRecordsDesc(args Object[]) : ConsumerRecordsDesc in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To | |
Change Variable Type | 1 | ||
Change Variable Type consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method protected createTrace(target Object, args Object[]) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To | |
Extract Method | 2 | ||
Extract Method private enableConsumerTransform(config KafkaConfig) : boolean extracted from public setup(context ProfilerPluginSetupContext) : void in class com.navercorp.pinpoint.plugin.kafka.KafkaPlugin | From | To | |
Extract Method protected getTargetParameter(args Object[]) : Object extracted from private getConsumerRecord(args Object[]) : ConsumerRecord in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerRecordEntryPointInterceptor | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected getTargetParameter(args Object[]) : Object extracted from private getConsumerRecords(args Object[]) : ConsumerRecords in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor & moved to class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerRecordEntryPointInterceptor | From | To | |
Rename Parameter | 4 | ||
Rename Parameter consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method private recordRootSpan(recorder SpanRecorder, consumerRecordsDesc ConsumerRecordsDesc) : void in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory | From | To | |
Rename Parameter consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method public createTrace(traceContext TraceContext, consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.TraceFactory | From | To | |
Rename Parameter consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method public createTrace(traceContext TraceContext, consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor.TraceFactoryProvider.DefaultTraceFactory | From | To | |
Rename Parameter consumerRecords : ConsumerRecords to consumerRecordsDesc : ConsumerRecordsDesc in method private createTrace(consumerRecordsDesc ConsumerRecordsDesc) : Trace in class com.navercorp.pinpoint.plugin.kafka.interceptor.ConsumerMultiRecordEntryPointInterceptor | From | To |