bf2ddde7f29d030c79b308da30bec325ceb08c50
Files Diff
- Added: 12
- Removed: 1
- Renamed: 0
- Modified: 47
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method package getIfString(key String) : String from class brave.context.log4j12.MDCCurrentTraceContext to protected get(key String) : String from class brave.context.log4j12.MDCScopeDecorator | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type previous : TraceContext to delegate : Scope in method package StrictScope(delegate Scope, caller Throwable) in class brave.propagation.StrictScopeDecorator.StrictScope | From | To | |
Change Parameter Type value : Object to value : String in method package replace(key String, value String) : void in class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method | 6 | ||
Move Method package replace(key String, value String) : void from class brave.context.log4j2.ThreadContextCurrentTraceContext to package replace(key String, value String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.context.slf4j.MDCCurrentTraceContext to package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.context.log4j12.MDCCurrentTraceContext to package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method package replace(key String, value Object) : void from class brave.context.log4j12.MDCCurrentTraceContext to package replace(key String, value String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.context.log4j2.ThreadContextCurrentTraceContext to package maybeReplaceTraceContext(currentSpan TraceContext, previousTraceId String, previousParentId String, previousSpanId String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Move Method package replace(key String, value String) : void from class brave.context.slf4j.MDCCurrentTraceContext to package replace(key String, value String) : void from class brave.internal.propagation.CorrelationFieldScopeDecorator | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute package local : ThreadLocal<TraceContext> from class brave.propagation.CurrentTraceContext.Default to package local : ThreadLocal<TraceContext> from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Pull Up Attribute package local : ThreadLocal<TraceContext> from class brave.propagation.StrictCurrentTraceContext to package local : ThreadLocal<TraceContext> from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Pull Up Attribute package DEFAULT : ThreadLocal<TraceContext> from class brave.propagation.CurrentTraceContext.Default to package DEFAULT : ThreadLocal<TraceContext> from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Extract Class | 3 | ||
Extract Class brave.internal.propagation.CorrelationFieldScopeDecorator from class brave.context.log4j2.ThreadContextCurrentTraceContext | From | To | |
Extract Class brave.internal.propagation.CorrelationFieldScopeDecorator from class brave.context.log4j12.MDCCurrentTraceContext | From | To | |
Extract Class brave.internal.propagation.CorrelationFieldScopeDecorator from class brave.context.slf4j.MDCCurrentTraceContext | From | To | |
Rename Class | 1 | ||
Rename Class brave.propagation.DefaultCurrentTraceContextTest renamed to brave.propagation.ThreadLocalCurrentTraceContextTest | From | To | |
Move Class | 1 | ||
Move Class brave.propagation.StrictCurrentTraceContext.StrictScope moved to brave.propagation.StrictScopeDecorator.StrictScope | From | To | |
Change Variable Type | 1 | ||
Change Variable Type scope : Scope to scope : CurrentTraceContext.Scope in method public newScope(currentSpan TraceContext) : CurrentTraceContext.Scope in class brave.context.slf4j.MDCCurrentTraceContext | From | To | |
Pull Up Method | 4 | ||
Pull Up Method public newScope(currentSpan TraceContext) : Scope from class brave.propagation.CurrentTraceContext.Default to public newScope(currentSpan TraceContext) : Scope from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Pull Up Method public get() : TraceContext from class brave.propagation.CurrentTraceContext.Default to public get() : TraceContext from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Pull Up Method public newScope(currentSpan TraceContext) : Scope from class brave.propagation.StrictCurrentTraceContext to public newScope(currentSpan TraceContext) : Scope from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Pull Up Method public get() : TraceContext from class brave.propagation.StrictCurrentTraceContext to public get() : TraceContext from class brave.propagation.ThreadLocalCurrentTraceContext | From | To | |
Inline Method | 3 | ||
Inline Method package newScope(currentSpan TraceContext, previousTraceId String, previousSpanId String) : Scope inlined to public newScope(currentSpan TraceContext) : Scope in class brave.context.log4j12.MDCCurrentTraceContext | From | To | |
Inline Method package newScope(currentSpan TraceContext, previousTraceId String, previousSpanId String) : Scope inlined to public newScope(currentSpan TraceContext) : Scope in class brave.context.log4j2.ThreadContextCurrentTraceContext | From | To | |
Inline Method package newScope(currentSpan TraceContext, previousTraceId String, previousSpanId String) : Scope inlined to public newScope(currentSpan TraceContext) : CurrentTraceContext.Scope in class brave.context.slf4j.MDCCurrentTraceContext | From | To | |
Change Return Type | 1 | ||
Change Return Type Scope to CurrentTraceContext.Scope in method public newScope(currentSpan TraceContext) : CurrentTraceContext.Scope in class brave.context.slf4j.MDCCurrentTraceContext | From | To | |
Extract Superclass | 1 | ||
Extract Superclass brave.propagation.ThreadLocalCurrentTraceContext from classes [brave.propagation.CurrentTraceContext.Default, brave.propagation.StrictCurrentTraceContext] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute previous : TraceContext to delegate : Scope in class brave.propagation.StrictScopeDecorator.StrictScope | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type previous : TraceContext to delegate : Scope in class brave.propagation.StrictScopeDecorator.StrictScope | From | To | |
Change Attribute Type currentTraceContext : StrictCurrentTraceContext to currentTraceContext : CurrentTraceContext in class brave.context.rxjava2.CurrentTraceContextAssemblyTrackingTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter previous : TraceContext to delegate : Scope in method package StrictScope(delegate Scope, caller Throwable) in class brave.propagation.StrictScopeDecorator.StrictScope | From | To |