aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-30 12:47:31 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-30 16:28:09 +0200
commit94beab46836b4f4e6fa93f735448698180e2ef77 (patch)
tree851ab7442e6ef7b00203db3a4b725036a4c54071 /sonar-home
parentf7eb2f52db5155e72d81f74adfea3e2af7b41725 (diff)
downloadsonarqube-94beab46836b4f4e6fa93f735448698180e2ef77.tar.gz
sonarqube-94beab46836b4f4e6fa93f735448698180e2ef77.zip
Improve quality
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/PersistentCacheBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/PersistentCacheBuilder.java b/sonar-home/src/main/java/org/sonar/home/cache/PersistentCacheBuilder.java
index 7be8fae66e8..51a05b7bf9c 100644
--- a/sonar-home/src/main/java/org/sonar/home/cache/PersistentCacheBuilder.java
+++ b/sonar-home/src/main/java/org/sonar/home/cache/PersistentCacheBuilder.java
@@ -99,7 +99,7 @@ public class PersistentCacheBuilder {
return Paths.get(home, ".sonar");
}
- private String sanitizeFilename(String name) {
+ private static String sanitizeFilename(String name) {
try {
return URLEncoder.encode(name, StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) {