aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-18 19:23:01 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-18 19:23:01 +0200
commiteb1a9511b030194ad70db239fadd087ee9f7bb62 (patch)
tree262379080f1fb2b81a6f2489d32563024caba44e /sonar-home
parent3497ea68266d44b0ccc9d0c280be1e28d2603e60 (diff)
downloadsonarqube-eb1a9511b030194ad70db239fadd087ee9f7bb62.tar.gz
sonarqube-eb1a9511b030194ad70db239fadd087ee9f7bb62.zip
Fix minor quality flaw in FileCache
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/FileCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
index 67fb154e978..a723cf164de 100644
--- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
+++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
@@ -91,7 +91,7 @@ public class FileCache {
return targetFile;
}
- private void download(Downloader downloader, String filename, File tempFile) {
+ private static void download(Downloader downloader, String filename, File tempFile) {
try {
downloader.download(filename, tempFile);
} catch (IOException e) {