diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-04 15:14:50 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-05 13:40:26 +0200 |
commit | 92ab7df5f6d58a9711cdc00dbaafd0648b22e940 (patch) | |
tree | 4a1101db723ac3d89c734d05b22d034acc1f38fa /sonar-core | |
parent | 15ec53105ce82aa3d85ad322b0a2cca16cfe7d0b (diff) | |
download | sonarqube-92ab7df5f6d58a9711cdc00dbaafd0648b22e940.tar.gz sonarqube-92ab7df5f6d58a9711cdc00dbaafd0648b22e940.zip |
SONAR-6761 Drop incremental mode
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java b/sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java index b8b74d6afab..afb631d4fb5 100644 --- a/sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java +++ b/sonar-core/src/main/java/org/sonar/core/util/DefaultHttpDownloader.java @@ -184,11 +184,11 @@ public class DefaultHttpDownloader extends HttpDownloader { } private void initUserAgent(@Nullable String sonarVersion) { - userAgent = (sonarVersion == null ? "SonarQube" : String.format("SonarQube %s", sonarVersion)); + userAgent = sonarVersion == null ? "SonarQube" : String.format("SonarQube %s", sonarVersion); System.setProperty("http.agent", userAgent); } - private String getProxySynthesis(URI uri) { + private static String getProxySynthesis(URI uri) { return getProxySynthesis(uri, ProxySelector.getDefault()); } |