38a390b03c14fc2fc2b70738e4e47b134c5d6ee4
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected sendSpans(json byte[]) : void renamed to package postSpans(json byte[]) : void in class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public builder(bootstrapServers String) : Builder from class com.github.kristofa.brave.kafka.KafkaSpanCollector.Config to private defaultPropertiesWith(bootstrapServers String) : Properties from class com.github.kristofa.brave.kafka.KafkaSpanCollector | From | To | |
Move Method | 4 | ||
Move Method public collect(span Span) : void from class com.github.kristofa.brave.AbstractSpanCollector to public collect(span Span) : void from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move Method public addDefaultAnnotation(key String, value String) : void from class com.github.kristofa.brave.AbstractSpanCollector to public addDefaultAnnotation(key String, value String) : void from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move Method public flush() : void from class com.github.kristofa.brave.AbstractSpanCollector to public flush() : void from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move Method public close() : void from class com.github.kristofa.brave.AbstractSpanCollector to public close() : void from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Change Return Type | 1 | ||
Change Return Type Builder to Properties in method private defaultPropertiesWith(bootstrapServers String) : Properties in class com.github.kristofa.brave.kafka.KafkaSpanCollector | From | To | |
Move Attribute | 3 | ||
Move Attribute private pending : BlockingQueue<Span> from class com.github.kristofa.brave.AbstractSpanCollector to private pending : BlockingQueue<Span> from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move Attribute private metrics : SpanCollectorMetricsHandler from class com.github.kristofa.brave.AbstractSpanCollector to private metrics : SpanCollectorMetricsHandler from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move Attribute private flusher : Flusher from class com.github.kristofa.brave.AbstractSpanCollector to private flusher : Flusher from class com.github.kristofa.brave.http.HttpSpanCollector | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.github.kristofa.brave.kafka.KafkaSpanCollectorTest.TestMetricsHander moved and renamed to com.github.kristofa.brave.kafka.ITKafkaSpanCollector.EventsHandler | From | To | |
Move Class | 1 | ||
Move Class com.github.kristofa.brave.AbstractSpanCollector.Flusher moved to com.github.kristofa.brave.http.HttpSpanCollector.Flusher | From | To |