Fixed checkstyle errors.
This commit is contained in:
parent
a29bf3d9c8
commit
25cbf98390
@ -32,5 +32,5 @@ public interface Credentials {
|
||||
* Implement this method to provide authentication for the given connection.
|
||||
* @param connection the HTTP connection to authenticate
|
||||
*/
|
||||
public void authenticate(final HttpURLConnection connection);
|
||||
void authenticate(final HttpURLConnection connection);
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ public class HttpDownloader extends Downloader {
|
||||
|
||||
connection = (HttpURLConnection) sourceUrl.openConnection();
|
||||
if (credentials != null) {
|
||||
credentials.authenticate((HttpURLConnection)connection);
|
||||
credentials.authenticate((HttpURLConnection) connection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user