Fixed checkstyle errors.

This commit is contained in:
Christian Morgner 2015-12-21 10:25:29 +01:00
parent a29bf3d9c8
commit 25cbf98390
2 changed files with 2 additions and 2 deletions

View File

@ -32,5 +32,5 @@ public interface Credentials {
* Implement this method to provide authentication for the given connection. * Implement this method to provide authentication for the given connection.
* @param connection the HTTP connection to authenticate * @param connection the HTTP connection to authenticate
*/ */
public void authenticate(final HttpURLConnection connection); void authenticate(final HttpURLConnection connection);
} }

View File

@ -99,7 +99,7 @@ public class HttpDownloader extends Downloader {
connection = (HttpURLConnection) sourceUrl.openConnection(); connection = (HttpURLConnection) sourceUrl.openConnection();
if (credentials != null) { if (credentials != null) {
credentials.authenticate((HttpURLConnection)connection); credentials.authenticate((HttpURLConnection) connection);
} }
} }
} }