mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-17 12:19:52 -04:00
feat: add PMD linting integration to GitLab CI
This commit is contained in:
committed by
Torsten Grote
parent
0a21bda38d
commit
f992d2c265
@@ -357,6 +357,7 @@ public class Netstat {
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return "[Prot=" + getProtocolAsString() +
|
||||
",POwner=" + powner +
|
||||
|
||||
@@ -94,7 +94,9 @@ public class HttpDownloaderTest {
|
||||
File destFile = File.createTempFile("dl-", "");
|
||||
final DownloadRequest request = new DownloadRequest(path, mirrors, null, null, null);
|
||||
final HttpDownloader httpDownloader = new HttpDownloader(httpManager, request, destFile);
|
||||
httpDownloader.setListener((bytesRead, totalBytes) -> receivedProgress = true);
|
||||
httpDownloader.setListener((bytesRead, totalBytes) -> {
|
||||
receivedProgress = true;
|
||||
});
|
||||
new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user