ec3ffdd1c0c1975c4768e621f342e7bae2ea598b
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 4 | ||
| Change Parameter Type expected : Expected to expected : ResolvedExpectedTrace in method private verifySpan(expected ResolvedExpectedTrace, actual ActualTrace) : void in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Change Parameter Type serviceType : String to serviceTypes : String... in method public ignoreServiceType(serviceTypes String...) : void in class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier | From | To | |
| Change Parameter Type type : BlockType to type : TraceType in method private resolveSpanClass(type TraceType) : Class<?> in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Change Parameter Type serviceType : String to serviceTypes : String... in method public ignoreServiceType(serviceTypes String...) : void in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Move Method | 3 | ||
| Move Method public annotation(annotationKeyName String, value Object) : ExpectedAnnotation from class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedAnnotation to public annotation(annotationKeyName String, value Object) : ExpectedAnnotation from class com.navercorp.pinpoint.bootstrap.plugin.test.Expectations | From | To | |
| Move Method public cachedArgs(args Object...) : ExpectedAnnotation[] from class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedAnnotation to public cachedArgs(args Object...) : ExpectedAnnotation[] from class com.navercorp.pinpoint.bootstrap.plugin.test.Expectations | From | To | |
| Move Method public args(args Object...) : ExpectedAnnotation[] from class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedAnnotation to public args(args Object...) : ExpectedAnnotation[] from class com.navercorp.pinpoint.bootstrap.plugin.test.Expectations | From | To | |
| Extract Class | 1 | ||
| Extract Class com.navercorp.pinpoint.bootstrap.plugin.test.Expectations from class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedAnnotation | From | To | |
| Extract Attribute | 4 | ||
| Extract Attribute private SERVICE_TYPE : String in class com.navercorp.pinpoint.plugin.jackson.ObjectMapper_1_x_IT | From | To | |
| Extract Attribute private SERVICE_TYPE : String in class com.navercorp.pinpoint.plugin.jackson.ObjectMapperIT | From | To | |
| Extract Attribute private ANNOTATION_KEY : String in class com.navercorp.pinpoint.plugin.jackson.ObjectMapperIT | From | To | |
| Extract Attribute private ANNOTATION_KEY : String in class com.navercorp.pinpoint.plugin.jackson.ObjectMapper_1_x_IT | From | To | |
| Rename Class | 2 | ||
| Rename Class com.navercorp.pinpoint.test.PluginTestAgent.Facade renamed to com.navercorp.pinpoint.test.PluginTestAgent.ActualTrace | From | To | |
| Rename Class com.navercorp.pinpoint.test.PluginTestAgent.Expected renamed to com.navercorp.pinpoint.test.PluginTestAgent.ResolvedExpectedTrace | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.BlockType moved and renamed to com.navercorp.pinpoint.bootstrap.plugin.test.TraceType | From | To | |
| Move Class | 2 | ||
| Move Class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedAnnotation moved to com.navercorp.pinpoint.bootstrap.plugin.test.ExpectedAnnotation | From | To | |
| Move Class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier.ExpectedSql moved to com.navercorp.pinpoint.bootstrap.plugin.test.ExpectedSql | From | To | |
| Merge Parameter | 1 | ||
| Merge Parameter [serviceTypeName : String, type : BlockType] to expected : ExpectedTrace in method private resolveExpectedTrace(expected ExpectedTrace, asyncId Integer) : ResolvedExpectedTrace in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Method | 3 | ||
| Rename Method public verifyTraceBlockCount(expected int) : void renamed to public verifyTraceCount(expected int) : void in class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier | From | To | |
| Rename Method public verifyTraceBlock(type BlockType, serviceTypeName String, annotations ExpectedAnnotation...) : void renamed to private resolveExpectedTrace(expected ExpectedTrace, asyncId Integer) : ResolvedExpectedTrace in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Method public verifyTraceBlockCount(expected int) : void renamed to public verifyTraceCount(expected int) : void in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Variable | 1 | ||
| Rename Variable actual : TAnnotation to actualAnnotation : TAnnotation in method private verifySpan(expected ResolvedExpectedTrace, actual ActualTrace) : void in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Change Return Type | 8 | ||
| Change Return Type int to Integer in method public getApiId() : Integer in class com.navercorp.pinpoint.test.PluginTestAgent.ActualTrace | From | To | |
| Change Return Type short to Short in method public getServiceType() : Short in class com.navercorp.pinpoint.test.PluginTestAgent.SpanEventFacade | From | To | |
| Change Return Type int to Integer in method public getApiId() : Integer in class com.navercorp.pinpoint.test.PluginTestAgent.SpanFacade | From | To | |
| Change Return Type Facade to ActualTrace in method private wrap(obj Object) : ActualTrace in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Change Return Type short to Short in method public getServiceType() : Short in class com.navercorp.pinpoint.test.PluginTestAgent.SpanFacade | From | To | |
| Change Return Type int to Integer in method public getApiId() : Integer in class com.navercorp.pinpoint.test.PluginTestAgent.SpanEventFacade | From | To | |
| Change Return Type short to Short in method public getServiceType() : Short in class com.navercorp.pinpoint.test.PluginTestAgent.ActualTrace | From | To | |
| Change Return Type void to ResolvedExpectedTrace in method private resolveExpectedTrace(expected ExpectedTrace, asyncId Integer) : ResolvedExpectedTrace in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute pos : int to index : int in class com.navercorp.pinpoint.test.OrderedSpanRecorder.RecorderIterator | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type expectedAnnotation : PluginTestVerifier.ExpectedAnnotation to expectedAnnotation : ExpectedAnnotation in class com.navercorp.pinpoint.plugin.gson.GsonIT | From | To | |
| Rename Parameter | 4 | ||
| Rename Parameter o2 : Object to actual : Object in method private equals(expected Object, actual Object) : boolean in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Parameter serviceType : String to serviceTypes : String... in method public ignoreServiceType(serviceTypes String...) : void in class com.navercorp.pinpoint.bootstrap.plugin.test.PluginTestVerifier | From | To | |
| Rename Parameter o1 : Object to expected : Object in method private equals(expected Object, actual Object) : boolean in class com.navercorp.pinpoint.test.PluginTestAgent | From | To | |
| Rename Parameter serviceType : String to serviceTypes : String... in method public ignoreServiceType(serviceTypes String...) : void in class com.navercorp.pinpoint.test.PluginTestAgent | From | To |