Skip to content

Commit

Permalink
used constructor with proxy statuses as default constructor in abstra…
Browse files Browse the repository at this point in the history
…ct proxy response handler
  • Loading branch information
dreamhead committed Jan 13, 2019
1 parent cb910dd commit 851d9e7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public abstract class AbstractProxyResponseHandler extends AbstractHttpResponseH
private final Failover failover;

protected AbstractProxyResponseHandler(final Failover failover) {
this.failover = failover;
this.proxyStatuses = ImmutableSet.of(HttpResponseStatus.BAD_REQUEST.code());
this(failover, HttpResponseStatus.BAD_REQUEST.code());
}

protected AbstractProxyResponseHandler(final Failover failover, final int... proxyStatuses) {
Expand Down

0 comments on commit 851d9e7

Please sign in to comment.