diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-30 12:47:31 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-30 16:28:09 +0200 |
commit | 94beab46836b4f4e6fa93f735448698180e2ef77 (patch) | |
tree | 851ab7442e6ef7b00203db3a4b725036a4c54071 /sonar-home | |
parent | f7eb2f52db5155e72d81f74adfea3e2af7b41725 (diff) | |
download | sonarqube-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.java | 2 |
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) { |