Skip to content

Commit

Permalink
(jcabi#178) Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Jun 26, 2020
1 parent 339096b commit becd877
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ public abstract class AbstractHeaderBasedCachingWire implements Wire {
// @checkstyle ParameterNumber (4 lines)
@Override
public final Response send(
final Request req, final String home, final String method,
final Collection<Map.Entry<String, String>> headers,
final InputStream content, final int connect, final int read,
final SSLContext sslcontext) throws IOException {
final Request req, final String home, final String method,
final Collection<Map.Entry<String, String>> headers,
final InputStream content, final int connect, final int read,
final SSLContext sslcontext
) throws IOException {
final Response rsp;
if (method.equals(Request.GET) && !this.requestHasCmcHeader(headers)) {
rsp = this.consultCache(
Expand Down Expand Up @@ -122,7 +123,8 @@ private Response consultCache(
final Request req, final String home, final String method,
final Collection<Map.Entry<String, String>> headers,
final InputStream content, final int connect, final int read,
final SSLContext sslcontext) throws IOException {
final SSLContext sslcontext
) throws IOException {
final Response rsp;
if (this.cache.containsKey(req)) {
rsp = this.validateCacheWithServer(
Expand Down Expand Up @@ -155,7 +157,8 @@ private Response validateCacheWithServer(
final Request req, final String home, final String method,
final Collection<Map.Entry<String, String>> headers,
final InputStream content, final int connect, final int read,
final SSLContext sslcontext) throws IOException {
final SSLContext sslcontext
) throws IOException {
final Response cached = this.cache.get(req);
final Collection<Map.Entry<String, String>> hdrs = this.enrich(
headers, cached
Expand Down

0 comments on commit becd877

Please sign in to comment.