e31c6251d428edd5e79d1a79dde322ff8b0b5f4b
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type res : GeocodeResponse to res : GeocodingResult[] in method protected extractGeoResult(res GeocodingResult[], exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Rename Variable | 5 | ||
Rename Variable res : GeocodeResponse to results : GeocodingResult[] in method public testGeoCoder() : void in class org.apache.camel.component.geocoder.GeoCoderProxyTest | From | To | |
Rename Variable json : String to result : GeolocationResult in method protected processCurrentLocation(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Rename Variable res : GeocodeResponse to results : GeocodingResult[] in method public process(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Rename Variable city : JsonNode to results : GeocodingResult[] in method protected processCurrentLocation(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.camel.component.geocoder.GeoCoderApiKeyTestBase from classes [org.apache.camel.component.geocoder.GeoCoderComponentAddressTest, org.apache.camel.component.geocoder.GeoCoderCurrentAddressTest, org.apache.camel.component.geocoder.GeoCoderLatLngComponentTest] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute geocoder : Geocoder to context : GeoApiContext in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Variable Type | 7 | ||
Change Variable Type json : String to result : GeolocationResult in method protected processCurrentLocation(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Variable Type res : GeocodeResponse to results : GeocodingResult[] in method public process(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Variable Type res : GeocodeResponse to results : GeocodingResult[] in method public testGeoCoder() : void in class org.apache.camel.component.geocoder.GeoCoderProxyTest | From | To | |
Change Variable Type city : GeocoderAddressComponent to city : AddressComponent in method protected extractGeoResult(res GeocodingResult[], exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Variable Type country : GeocoderAddressComponent to country : AddressComponent in method protected extractGeoResult(res GeocodingResult[], exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Variable Type city : JsonNode to results : GeocodingResult[] in method protected processCurrentLocation(exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type geocoder : Geocoder to context : GeoApiContext in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To | |
Extract Method | 1 | ||
Extract Method private setLatLngToExchangeHeader(location LatLng, exchange Exchange) : void extracted from protected extractGeoResult(res GeocodeResponse, exchange Exchange) : void in class org.apache.camel.component.geocoder.GeoCoderProducer | From | To |