efcd0a0f2f379282de71784dada73e2830dacd35
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public testFailureWithFailureThresholdRatio() : void renamed to public shouldHandleLateSetFailureRatio() : void in class net.jodah.failsafe.internal.ClosedStateTest | From | To | |
Rename Method public testSuccessWithFailureThresholdRatio() : void renamed to public testSuccessWithFailureRatio() : void in class net.jodah.failsafe.internal.ClosedStateTest | From | To | |
Merge Attribute | 2 | ||
Merge Attribute [successRatio : Ratio, failureRatio : Ratio, failureThresh : Integer, successThresh : Integer] to circuit : CircuitBreaker in class net.jodah.failsafe.internal.HalfOpenState | From | To | |
Merge Attribute [executions : int, successiveSuccesses : int] to bitSet : CircularBitSet in class net.jodah.failsafe.internal.HalfOpenState | From | To | |
Change Return Type | 2 | ||
Change Return Type Integer to Ratio in method public getFailureThreshold() : Ratio in class net.jodah.failsafe.CircuitBreaker | From | To | |
Change Return Type Integer to Ratio in method public getSuccessThreshold() : Ratio in class net.jodah.failsafe.CircuitBreaker | From | To | |
Extract Method | 2 | ||
Extract Method public setThreshold(threshold Ratio) : void extracted from public ClosedState(circuit CircuitBreaker) in class net.jodah.failsafe.internal.ClosedState | From | To | |
Extract Method public setThreshold(threshold Ratio) : void extracted from public HalfOpenState(circuit CircuitBreaker) in class net.jodah.failsafe.internal.HalfOpenState | From | To | |
Inline Variable | 3 | ||
Inline Variable circuitState : CircuitState in method package recordFailure() : void from class net.jodah.failsafe.CircuitBreaker | From | To | |
Inline Variable circuitState : CircuitState in method package recordResult(result Object, failure Throwable) : void from class net.jodah.failsafe.CircuitBreaker | From | To | |
Inline Variable circuitState : CircuitState in method public recordSuccess() : void from class net.jodah.failsafe.CircuitBreaker | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type failureThreshold : Integer to failureThreshold : Ratio in class net.jodah.failsafe.CircuitBreaker | From | To | |
Change Attribute Type successThreshold : Integer to successThreshold : Ratio in class net.jodah.failsafe.CircuitBreaker | From | To |