package io.github.robwin.circuitbreaker;
import java.util.ArrayList;
import java.util.List;
<BUG>import java.util.Optional;</BUG>
public class CircuitBreakerConfig {
private static final int DEFAULT_MAX_FAILURES = 3;
private static final int DEFAULT_WAIT_INTERVAL = 60000;
private final int maxFailures;
private final int waitInterval;
<BUG>private Optional<CircuitBreakerEventListener> circuitBreakerEventListener;
private final List<Class<? extends Throwable>> ignoredExceptions;</BUG>
private CircuitBreakerConfig(int maxFailures,

package io.github.robwin.circuitbreaker;
import java.util.ArrayList;
import java.util.List;
public class CircuitBreakerConfig {
private static final int DEFAULT_MAX_FAILURES = 3;
private static final int DEFAULT_WAIT_INTERVAL = 60000;
private final int maxFailures;
private final int waitInterval;
private CircuitBreakerEventListener circuitBreakerEventListener;
private final List<Class<? extends Throwable>> ignoredExceptions;
private CircuitBreakerConfig(int maxFailures,
