mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 23:38:05 -04:00
Fixed checkstyle errors.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user