8c3f5175956f4e80a790483e88d7a41bc46ed8cf
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 38
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public isInjected(accessor MetadataHolder, object Object) : boolean renamed to public isInstance(object Object) : boolean in class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder | From | To | |
Rename Method public load(providers List<ServiceTypeProvider>) : void renamed to public initialize(providers List<ServiceTypeProvider>) : void in class com.navercorp.pinpoint.common.ServiceTypeInitializer | From | To | |
Move And Rename Method | 3 | ||
Move And Rename Method public set(object Object, value Object) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setInt(object Object, value int) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move And Rename Method public set2(object Object, value Object) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setShort(object Object, value short) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move And Rename Method public set3(object Object, value Object) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setFloat(object Object, value float) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type value : Object to value : int in method public setInt(object Object, value int) : void in class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Change Parameter Type value : Object to value : float in method public setFloat(object Object, value float) : void in class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Change Parameter Type value : Object to value : short in method public setShort(object Object, value short) : void in class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method | 11 | ||
Move Method public setInt(object Object, value int) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setInt(object Object, value int) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public setDouble(object Object, value double) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setDouble(object Object, value double) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public getDouble(object Object) : double from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public getDouble(object Object) : double from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public setLong(object Object, value long) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setLong(object Object, value long) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public getLong(object Object) : long from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public getLong(object Object) : long from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public getBoolean(object Object) : boolean from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public getBoolean(object Object) : boolean from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method private initializeServiceTypeStatisticsLookupTable(serviceTypes List<ServiceType>) : Map<String,List<ServiceType>> from class com.navercorp.pinpoint.common.ServiceType to private initializeServiceTypeStatisticsLookupTable(serviceTypes List<ServiceType>) : Map<String,List<ServiceType>> from class com.navercorp.pinpoint.common.ServiceTypeInitializer | From | To | |
Move Method public getInt(object Object) : int from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public getInt(object Object) : int from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method public setBoolean(object Object, value boolean) : void from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder to public setBoolean(object Object, value boolean) : void from class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata | From | To | |
Move Method private initializeServiceTypeCodeLookupTable(serviceTypes List<ServiceType>) : IntHashMap<ServiceType> from class com.navercorp.pinpoint.common.ServiceType to private initializeServiceTypeCodeLookupTable(serviceTypes List<ServiceType>) : IntHashMap<ServiceType> from class com.navercorp.pinpoint.common.ServiceTypeInitializer | From | To | |
Move Method private initializeAnnotationKeyCodeLookupTable(annotationKeys List<AnnotationKey>) : IntHashMap<AnnotationKey> from class com.navercorp.pinpoint.common.AnnotationKey to private initializeAnnotationKeyCodeLookupTable(annotationKeys List<AnnotationKey>) : IntHashMap<AnnotationKey> from class com.navercorp.pinpoint.common.ServiceTypeInitializer | From | To | |
Extract Class | 1 | ||
Extract Class com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata from class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder | From | To | |
Move Class | 4 | ||
Move Class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder.DoubleAccessor moved to com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata.DoubleAccessor | From | To | |
Move Class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder.BooleanAccessor moved to com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata.BooleanAccessor | From | To | |
Move Class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder.LongAccessor moved to com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata.LongAccessor | From | To | |
Move Class com.navercorp.pinpoint.bootstrap.plugin.MetadataHolder.IntAccessor moved to com.navercorp.pinpoint.bootstrap.plugin.PrimitiveMetadata.IntAccessor | From | To | |
Extract Method | 4 | ||
Extract Method private verifyAnnotations(actualAnnotations List<TAnnotation>, annotations ExpectedAnnotation...) : void extracted from public verifySpanEvent(serviceType ServiceType, apiId Integer, annotations ExpectedAnnotation...) : void in class com.navercorp.pinpoint.test.MockAgent | From | To | |
Extract Method private verifyAnnotations(actualAnnotations List<TAnnotation>, annotations ExpectedAnnotation...) : void extracted from public verifySpan(serviceType ServiceType, annotations ExpectedAnnotation...) : void in class com.navercorp.pinpoint.test.MockAgent | From | To | |
Extract Method private appendAnnotations(builder StringBuilder, annotations List<TAnnotation>) : void extracted from public toString(span Span) : String in class com.navercorp.pinpoint.test.MockAgent | From | To | |
Extract Method private appendAnnotations(builder StringBuilder, annotations List<TAnnotation>) : void extracted from public toString(span SpanEvent) : String in class com.navercorp.pinpoint.test.MockAgent | From | To |