super(stateMachine, currentState);
}
@Override
public boolean isCallPermitted() {
if (System.currentTimeMillis() >= retryAfter.get()) {
<BUG>stateMachine.transitionToHalfClosedState(this);
return true;</BUG>
}
return false;
}

super(stateMachine, currentState);
}
@Override
public boolean isCallPermitted() {
if (System.currentTimeMillis() >= retryAfter.get()) {
stateMachine.transitionToHalfClosedState(this, CircuitBreaker.StateTransition.OPEN_TO_HALF_CLOSED);
return true;
}
return false;
}
