feat: add PMD linting integration to GitLab CI

This commit is contained in:
proletarius101
2025-10-21 12:11:53 +00:00
committed by Torsten Grote
parent 0a21bda38d
commit f992d2c265
18 changed files with 210 additions and 100 deletions

View File

@@ -357,6 +357,7 @@ public class Netstat {
}
@NonNull
@Override
public String toString() {
return "[Prot=" + getProtocolAsString() +
",POwner=" + powner +

View File

@@ -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() {