Skip to content

Commit

Permalink
Make linter happy (hopefuly)
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Oct 1, 2020
1 parent 098e3ba commit 774975b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import org.locationtech.jts.util.Assert;
import org.mapfish.print.config.Configuration;
import org.mapfish.print.processor.Processor;
import org.mapfish.print.url.data.DataUrlConnection;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
Expand All @@ -23,7 +25,6 @@
import java.util.concurrent.CopyOnWriteArrayList;
import javax.annotation.Nonnull;

import org.mapfish.print.url.data.DataUrlConnection;

/**
* This request factory will attempt to load resources using
Expand Down Expand Up @@ -114,8 +115,10 @@ protected synchronized ClientHttpResponse executeInternal(final HttpHeaders head
if ("data".equals(this.uri.getScheme())) {
final DataUrlConnection duc = new DataUrlConnection(this.uri.toURL());
final InputStream is = duc.getInputStream();
final ConfigFileResolverHttpResponse response = new ConfigFileResolverHttpResponse(is, headers);
LOGGER.debug("Resolved request: {} using DataUrlConnection.", this.uri.getSchemeSpecificPart());
final ConfigFileResolverHttpResponse response =
new ConfigFileResolverHttpResponse(is, headers);
LOGGER.debug("Resolved request: {} using DataUrlConnection.",
this.uri.getSchemeSpecificPart());
return response;
}
if (this.httpMethod == HttpMethod.GET) {
Expand Down

0 comments on commit 774975b

Please sign in to comment.