Skip to content

Commit 8e2c43e

Browse files
committed
Fix quality flaw
1 parent 4793afe commit 8e2c43e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/src/main/java/org/sonarsource/scanner/lib/internal/JavaRunnerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private Path findJavaInPath(String javaExe) {
129129
}
130130
}
131131

132-
private Optional<CachedFile> getJreFromServer(ServerConnection serverConnection, FileCache fileCache, Map<String, String> properties, boolean retry) {
132+
private static Optional<CachedFile> getJreFromServer(ServerConnection serverConnection, FileCache fileCache, Map<String, String> properties, boolean retry) {
133133
String os = properties.get(SCANNER_OS);
134134
String arch = properties.get(SCANNER_ARCH);
135135
LOG.info("JRE provisioning: os[{}], arch[{}]", os, arch);

lib/src/main/java/org/sonarsource/scanner/lib/internal/http/OkHttpClientFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import okhttp3.JavaNetCookieJar;
3737
import okhttp3.OkHttpClient;
3838
import okhttp3.logging.HttpLoggingInterceptor;
39-
import org.jetbrains.annotations.NotNull;
4039
import org.slf4j.Logger;
4140
import org.slf4j.LoggerFactory;
4241
import org.sonarsource.scanner.lib.ScannerProperties;

0 commit comments

Comments
 (0)