d0d8b103fab5a0292406ce67e5c26dc4a4d1595f
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 3 | ||
Extract Variable delayQ : DelayQueue<ThrottlePermit> in method public process(exchange Exchange, callback AsyncCallback) : boolean from class org.apache.camel.processor.Throttler | From | To | |
Extract Variable lockOnSync : Object in method protected calculateAndSetMaxRequestsPerPeriod(delayQueue DelayQueue<ThrottlePermit>, exchange Exchange, key Integer) : void from class org.apache.camel.processor.Throttler | From | To | |
Extract Variable currentThrottleRate : Integer in method protected calculateAndSetMaxRequestsPerPeriod(delayQueue DelayQueue<ThrottlePermit>, exchange Exchange, key Integer) : void from class org.apache.camel.processor.Throttler | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type throttleRate : int to throttleRate : Integer in class org.apache.camel.processor.Throttler | From | To |