e578b2ece5401274775bd3ab29ba2ff8730d69fd
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getAll_empty_if_not_extraField() : void renamed to public getAll_empty_if_no_extraField() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Pull Up Method | 4 | ||
Pull Up Method package set(index int, value String) : void from class brave.propagation.ExtraFieldPropagation.Extra to public put(index int, value String) : void from class brave.internal.PredefinedPropagationFields | From | To | |
Pull Up Method package tryAssociate(newContext TraceContext) : boolean from class brave.propagation.ExtraFieldPropagation.Extra to package tryAssociate(newContext TraceContext) : boolean from class brave.internal.PropagationFields | From | To | |
Pull Up Method package get(index int) : String from class brave.propagation.ExtraFieldPropagation.Extra to public get(index int) : String from class brave.internal.PredefinedPropagationFields | From | To | |
Pull Up Method package indexOf(name String) : int from class brave.propagation.ExtraFieldPropagation.Extra to package indexOf(name String) : int from class brave.internal.PredefinedPropagationFields | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method package indexOfExtra(extra List<Object>) : int from class brave.propagation.ExtraFieldPropagation to package indexOf(name String) : int from class brave.internal.PredefinedPropagationFields | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type extra : List<Object> to name : String in method package indexOf(name String) : int in class brave.internal.PredefinedPropagationFields | From | To | |
Move Method | 7 | ||
Move Method public contextIsntBrokenWithSmallChanges() : void from class brave.propagation.ExtraFieldPropagationTest to public contextIsntBrokenWithSmallChanges() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public nextSpanExtraWithImplicitParent_butNoExtractedExtraFields() : void from class brave.propagation.ExtraFieldPropagationTest to public nextSpanExtraWithImplicitParent_butNoExtractedExtraFields() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public contextsAreIndependent() : void from class brave.propagation.ExtraFieldPropagationTest to public contextsAreIndependent() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public nextSpanExtraWithImplicitParent_butNoImplicitExtraFields() : void from class brave.propagation.ExtraFieldPropagationTest to public nextSpanExtraWithImplicitParent_butNoImplicitExtraFields() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public nextSpanMergesExtraWithImplicitParent_hasFields() : void from class brave.propagation.ExtraFieldPropagationTest to public nextSpanMergesExtraWithImplicitParent_hasFields() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public toString_two() : void from class brave.propagation.ExtraFieldPropagationTest to public toString_two() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Move Method public toSpan_selfLinksContext() : void from class brave.propagation.ExtraFieldPropagationTest to public toSpan_selfLinksContext() : void from class brave.internal.PropagationFieldsFactoryTest | From | To | |
Rename Variable | 5 | ||
Rename Variable extra : Extra to fields : PredefinedPropagationFields in method public extract(carrier C) : TraceContextOrSamplingFlags in class brave.propagation.ExtraFieldPropagation.ExtraFieldExtractor | From | To | |
Rename Variable extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_two() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Rename Variable extra : Extra to fields : PropagationFields in method package getAll(extraList List<Object>) : Map<String,String> in class brave.propagation.ExtraFieldPropagation | From | To | |
Rename Variable extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_prefixed() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Rename Variable extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_extra() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute package context : TraceContext from class brave.propagation.ExtraFieldPropagation.Extra to private context : TraceContext from class brave.internal.PropagationFields | From | To | |
Pull Up Attribute package fieldNames : String[] from class brave.propagation.ExtraFieldPropagation.Extra to package fieldNames : String[] from class brave.internal.PredefinedPropagationFields | From | To | |
Pull Up Attribute package values : String[] from class brave.propagation.ExtraFieldPropagation.Extra to package values : String[] from class brave.internal.PredefinedPropagationFields | From | To | |
Extract Class | 2 | ||
Extract Class brave.internal.PropagationFields from class brave.propagation.ExtraFieldPropagationTest | From | To | |
Extract Class brave.internal.PropagationFieldsFactoryTest from class brave.propagation.ExtraFieldPropagationTest | From | To | |
Extract Superclass | 1 | ||
Extract Superclass brave.internal.PredefinedPropagationFields from classes [brave.propagation.ExtraFieldPropagation.Extra] | From | To | |
Change Variable Type | 6 | ||
Change Variable Type extra : Extra to fields : PredefinedPropagationFields in method public extract(carrier C) : TraceContextOrSamplingFlags in class brave.propagation.ExtraFieldPropagation.ExtraFieldExtractor | From | To | |
Change Variable Type extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_prefixed() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Change Variable Type extra : Extra to fields : PropagationFields in method package getAll(extraList List<Object>) : Map<String,String> in class brave.propagation.ExtraFieldPropagation | From | To | |
Change Variable Type extra : Extra to extra : List<Object> in method public inject(traceContext TraceContext, carrier C) : void in class brave.propagation.ExtraFieldPropagation.ExtraFieldInjector | From | To | |
Change Variable Type extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_extra() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Change Variable Type extra : ExtraFieldPropagation.Extra to fields : PropagationFields in method public extract_two() : void in class brave.propagation.ExtraFieldPropagationTest | From | To | |
Extract Method | 3 | ||
Extract Method package lowercase(name String) : String extracted from public get(context TraceContext, name String) : String in class brave.propagation.ExtraFieldPropagation | From | To | |
Extract Method package inject(fields Extra, carrier C) : void extracted from public inject(traceContext TraceContext, carrier C) : void in class brave.propagation.ExtraFieldPropagation.ExtraFieldInjector | From | To | |
Extract Method package lowercase(name String) : String extracted from public set(context TraceContext, name String, value String) : void in class brave.propagation.ExtraFieldPropagation | From | To | |
Rename Parameter | 1 | ||
Rename Parameter extra : List<Object> to name : String in method package indexOf(name String) : int in class brave.internal.PredefinedPropagationFields | From | To |